Using u8x8 library in VS Code

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
niom
Posts: 8
Joined: 24 May 2023 10:37

Using u8x8 library in VS Code

Post by niom »

Hi guys. I'm having trouble using u8x8 library in my project. The problem is that the project doesn't even compile.
Maybe someone has a minimal project that shows how to configure U8x8 library.

My code is as follows:

Code: Select all

#include "U8x8lib.h"

#define CLK_PIN 8
#define DAT_PIN 7

U8X8_SH1106_128X64_NONAME_SW_I2C u8x8(U8X8_PIN_NONE, CLK_PIN, DAT_PIN );

At this point it shows me that the class is not available as it is under #ifdef U8X8_USE_PINS. And it is not defined anywhere.
Any help would be appreciated
Post Reply