stanleyhuangyc / MultiLCD

Arduino LCD library supporting multiple types of LCD shields and modules
112 stars 70 forks source link

SH1106 arduino UNO compile issues #8

Open hobrawker opened 10 years ago

hobrawker commented 10 years ago

I have this LCD http://www.ebay.com/itm/like/281268533371?lpid=82 It uses the SH1106 driver. Your library is the only one that i can find that gets it working, but i noticed that your lcdhello.ino had compiling errors with the adruino uno. They are as follows:

lcdhello.ino: In function 'void loop()': lcdhello:39: error: no matching function for call to 'LCD_SH1106::draw(const uint8_t [288], int, int, int, int)' /Users/robhawker/Documents/Arduino/libraries/MicroLCD/MicroLCD.h:83: note: candidates are: virtual void LCDSH1106::draw(const byte, byte, byte) lcdhello:43: error: no matching function for call to 'LCD_SH1106::draw(const uint8_t [32], int, int, int, int)' /Users/robhawker/Documents/Arduino/libraries/MicroLCD/MicroLCD.h:83: note: candidates are: virtual void LCDSH1106::draw(const byte, byte, byte) lcdhello:44: error: no matching function for call to 'LCD_SH1106::draw(const uint8_t [32], int, int, int, int)' /Users/robhawker/Documents/Arduino/libraries/MicroLCD/MicroLCD.h:83: note: candidates are: virtual void LCD_SH1106::draw(const byte*, byte, byte)

It is there a way to fix this? i want to get this working so i can try to utilize the draw function in a project. If i comment out the lines that include the draw function, it complies and displays the cycling display as expected.