Compiling debug version of '' for 'Arduino/Genuino Uno'
xcxx.ino:In file included from
MicroLCD.h:14:23: error: redeclaration of 'FONT_SIZE_SMALL
:FONT_SIZE_SMALL = 0
xxx.ino:In file included from
MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_SMALL
:FONT_SIZE_SMALL = 0
xxx.ino:In file included from
MicroLCD.h:15:5: error: redeclaration of 'FONT_SIZE_MEDIUM
:FONT_SIZE_MEDIUM
xxx.ino:In file included from
MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_MEDIUM
:FONT_SIZE_MEDIUM
xxx.ino:In file included from
MicroLCD.h:16:5: error: redeclaration of 'FONT_SIZE_LARGE
:FONT_SIZE_LARGE
xxx.ino:In file included from
MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_LARGE
:FONT_SIZE_LARGE
xxx.ino:In file included from
MicroLCD.h:17:5: error: redeclaration of 'FONT_SIZE_XLARGE
:FONT_SIZE_XLARGE
xxx.ino:In file included from
MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_XLARGE
:FONT_SIZE_XLARGE
xxx.ino:In file included from
MicroLCD.h:18:3: error: conflicting declaration 'typedef enum FONT_SIZE FONT_SIZE
:} FONT_SIZE
xxx.ino:In file included from
MultiLCD.h:23:3: error: 'FONT_SIZE' has a previous declaration as 'typedef enum FONT_SIZE FONT_SIZE
:} FONT_SIZE
xxx.ino:In file included from
MicroLCD.h:32:7: error: redefinition of 'class LCD_Common
:class LCD_Common
xxx.ino:In file included from
MultiLCD.h:48:7: error: previous definition of 'class LCD_Common
:class LCD_Common
xxx.ino:In file included from
MicroLCD.h:In member function 'virtual void LCDPCD8544::clearLine(byte)
MicroLCD.h:112:9: error: reference to 'setCursor' is ambiguous
:setCursor(0, line)
MicroLCD.h:In file included from
xxx.ino:from
PCD8544.h:setCursor(unsigned char, unsigned char)
:void setCursor(unsigned char column, unsigned char line)
xxx.ino:In file included from
MultiLCD.h:setCursor(byte, byte)
:virtual void setCursor(byte column, byte line) {}
xxx.ino:In file included from
MicroLCD.h:113:39: error: reference to 'write' is ambiguous
:for (byte i = 14; i > 0; i--) write(' ')
Stream.h:In file included from
HardwareSerial.h:from
Arduino.h:from
xxx.ino:from
Print.h:write(const char, size_t)
:size_t write(const char buffer, size_t size) {
Print.h:write(const uint8t, size_t)
:virtual size_t write(const uint8_t _buffer, sizet size)
Print.h:write(const char)
:size_t write(const char str) {
Print.h:write(uint8_t)
:virtual size_t write(uint8_t) = 0
MicroLCD.h:In file included from
xxx.ino:from
PCD8544.h:write(uint8_t)
:virtual size_t write(uint
the example on this site fails to compile.
include
include
doesnt include multilcd.h
results:
/*****
include
include
include
include
include
include // https://github.com/stanleyhuangyc/MultiLCD
include
include
//aaa #include
LCD_SH1106 lcd; /* for SH1106 based OLED */
COBD obd;
static const PROGMEM uint8_t smile[48 * 48 / 8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0xF8,0xF8,0xFC,0xFC,0xFE,0xFE,0x7E,0x7F,0x7F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x7F,0x7F,0x7E,0xFE,0xFE,0xFC,0xFC,0xF8,0xF8,0xF0,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0xC0,0xF0,0xFC,0xFE,0xFF,0xFF,0xFF,0x3F,0x1F,0x0F,0x07,0x03,0x01,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x01,0x03,0x07,0x0F,0x1F,0x3F,0xFF,0xFF,0xFF,0xFE,0xFC,0xF0,0xC0,0x00, 0xFE,0xFF,0xFF,0xFF,0xFF,0xFF,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x1F,0x1F,0x1F,0x3F,0x1F,0x1F,0x02,0x00,0x00,0x00,0x00,0x06,0x1F,0x1F,0x1F,0x3F,0x1F,0x1F,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE, 0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x30,0xF8,0xF8,0xF8,0xF8,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF8,0xF8,0xFC,0xF8,0x30,0x00,0x00,0xE0,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F, 0x00,0x03,0x0F,0x3F,0x7F,0xFF,0xFF,0xFF,0xFC,0xF8,0xF0,0xE1,0xC7,0x87,0x0F,0x1F,0x3F,0x3F,0x3E,0x7E,0x7C,0x7C,0x7C,0x78,0x78,0x7C,0x7C,0x7C,0x7E,0x3E,0x3F,0x3F,0x1F,0x0F,0x87,0xC7,0xE1,0xF0,0xF8,0xFC,0xFF,0xFF,0xFF,0x7F,0x3F,0x0F,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0F,0x1F,0x1F,0x3F,0x3F,0x7F,0x7F,0x7E,0xFE,0xFE,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFC,0xFE,0xFE,0x7E,0x7F,0x7F,0x3F,0x3F,0x1F,0x1F,0x0F,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00, };
void setup () {
lcd.begin(); }
void loop() { lcd.clear(); lcd.draw(smile, 48, 48); delay(2000);
}
Compiling debug version of '' for 'Arduino/Genuino Uno' xcxx.ino:In file included from MicroLCD.h:14:23: error: redeclaration of 'FONT_SIZE_SMALL :FONT_SIZE_SMALL = 0 xxx.ino:In file included from MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_SMALL :FONT_SIZE_SMALL = 0 xxx.ino:In file included from MicroLCD.h:15:5: error: redeclaration of 'FONT_SIZE_MEDIUM :FONT_SIZE_MEDIUM xxx.ino:In file included from MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_MEDIUM :FONT_SIZE_MEDIUM xxx.ino:In file included from MicroLCD.h:16:5: error: redeclaration of 'FONT_SIZE_LARGE :FONT_SIZE_LARGE xxx.ino:In file included from MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_LARGE :FONT_SIZE_LARGE xxx.ino:In file included from MicroLCD.h:17:5: error: redeclaration of 'FONT_SIZE_XLARGE :FONT_SIZE_XLARGE xxx.ino:In file included from MultiLCD.h:previous declaration 'FONT_SIZE FONT_SIZE_XLARGE :FONT_SIZE_XLARGE xxx.ino:In file included from MicroLCD.h:18:3: error: conflicting declaration 'typedef enum FONT_SIZE FONT_SIZE :} FONT_SIZE xxx.ino:In file included from MultiLCD.h:23:3: error: 'FONT_SIZE' has a previous declaration as 'typedef enum FONT_SIZE FONT_SIZE :} FONT_SIZE xxx.ino:In file included from MicroLCD.h:32:7: error: redefinition of 'class LCD_Common :class LCD_Common xxx.ino:In file included from MultiLCD.h:48:7: error: previous definition of 'class LCD_Common :class LCD_Common xxx.ino:In file included from MicroLCD.h:In member function 'virtual void LCDPCD8544::clearLine(byte) MicroLCD.h:112:9: error: reference to 'setCursor' is ambiguous :setCursor(0, line) MicroLCD.h:In file included from xxx.ino:from PCD8544.h:setCursor(unsigned char, unsigned char) :void setCursor(unsigned char column, unsigned char line) xxx.ino:In file included from MultiLCD.h:setCursor(byte, byte) :virtual void setCursor(byte column, byte line) {} xxx.ino:In file included from MicroLCD.h:113:39: error: reference to 'write' is ambiguous :for (byte i = 14; i > 0; i--) write(' ') Stream.h:In file included from HardwareSerial.h:from Arduino.h:from xxx.ino:from Print.h:write(const char, size_t) :size_t write(const char buffer, size_t size) { Print.h:write(const uint8t, size_t) :virtual size_t write(const uint8_t _buffer, sizet size) Print.h:write(const char) :size_t write(const char str) { Print.h:write(uint8_t) :virtual size_t write(uint8_t) = 0 MicroLCD.h:In file included from xxx.ino:from PCD8544.h:write(uint8_t) :virtual size_t write(uint