Good night everyone,
I need help using an OLED on a Nokia LCD sketch.
I would like to do a tamagotchi clone for the arduino for the sons of a friend. I've been succesful with different projects using the OLED, a LCD display from an Arduino MEGA kit and a 8x8 LED Matrix.
The project is here: JKA Network / arduitochi · GitLab
I Would like to adapt it to the OLED screen and share with the creators so they can Upload it for other people in my situation.
Right now, I tried to include the correct libraries:
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
And defining the OLED parameters:
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
As in other projects I tried setting:
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
It neither worked.
Could somebody give me some guidelines to improve the code?
Thanks in advance, I really appreciate all I read on the forums.