Corrected LCD only error

If only an LCD is defined and no menu or keyboard defined, there is a
compilation error.

Added conditional compilation.
This commit is contained in:
fmalpartida
2013-10-30 21:52:46 +01:00
parent b5a964fcc5
commit 5b3f60ea2e
3 changed files with 3 additions and 0 deletions

14
Marlin/BlinkM.h Normal file
View File

@@ -0,0 +1,14 @@
/*
BlinkM.h
Library header file for BlinkM library
*/
#if (ARDUINO >= 100)
# include "Arduino.h"
#else
# include "WProgram.h"
#endif
#include "Wire.h"
void SendColors(byte red, byte grn, byte blu);