Skip to content

SH1106 arduino UNO compile issues #8

Description

@hobrawker

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 LCD_SH1106::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 LCD_SH1106::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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions