Using u8x8 library in VS Code
Posted: 29 Oct 2024 22:26
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:
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
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 );
Any help would be appreciated