diff options
Diffstat (limited to 'libraries/MultiLCD/MultiLCD.h')
-rw-r--r-- | libraries/MultiLCD/MultiLCD.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/libraries/MultiLCD/MultiLCD.h b/libraries/MultiLCD/MultiLCD.h index 6cba291..a5c4085 100644 --- a/libraries/MultiLCD/MultiLCD.h +++ b/libraries/MultiLCD/MultiLCD.h @@ -5,6 +5,10 @@ * All rights reserved. *************************************************************************/ +#if !defined(__AVR_ATmega2560__) && !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega644P__) && !defined(__SAM3X8E__) +//#define MEMORY_SAVING +#endif + typedef enum { FONT_SIZE_SMALL = 0, FONT_SIZE_MEDIUM, @@ -80,23 +84,6 @@ private: void writeDigit(byte n); }; -#include "LCD4Bit_mod.h" -class LCD_1602 : public LCD_Common, public LCD4Bit_mod -{ -public: - byte getLines() { return 2; } - byte getCols() { return 16; } - void writeDigit(byte n) - { - write(n >= 0 && n <= 9 ? '0' + n : ' '); - } - void clearLine(byte line) - { - setCursor(0, line); - for (byte i = 16; i > 0; i--) write(' '); - } -}; - #include "SSD1306.h" class LCD_SSD1306 : public LCD_Common, public SSD1306, public Print |