Question/Issue with/about U8X8 lib

Hi everyone,

I was hoping someone could help me with this. When I try to use the ST7567 constructor ref it errors out as shown here. If I use ST7565 then it compiles clean.

Please go read the forum guide in the sticky post to find out how to post code/error messages correctly. You should never post images of screens that contain only text, post the text itself as described in the guide.

Where did you find that code? There is no such constructor in the current version of the U8x8 or U8G2 libraries, or in any of the example sketches included with those libraries. There are constructors for U8X8_ST7567_JLX12864_6800 and U8X8_ST7567_OS12864_6800.

Ok thanks David. It appears that some of the docs haven’t been updated then since they are still listed https://github.com/olikraus/u8g2/wiki/u8x8setupcpp#st7567-erc12864

Install u8g2lib.h

The u8g2 github looks to be a newer version than the one installed from the Arduino IDE library manager. The constructor does exist on the github version.