can someone help my with this on my Oled SSD1306 I can see the time and date
but it stands still....
what is wrong
testing.ino (9.92 KB)
can someone help my with this on my Oled SSD1306 I can see the time and date
but it stands still....
what is wrong
testing.ino (9.92 KB)
If only I could see the code {sigh}
attachments.....
Mobile phone . . .
Hello,
I have comment out this and now the clock is tikking
but now must my buttons going to work
this code was with an "LCDKEYPAD" board.
but I will it with loose switches
I have changed some code..
now the buttons....
testing.ino (9.94 KB)
Can you help my to change the code so that the buttons will work?
pvdbos:
Thats the problem. I have this code from internet it's have a 2X20 LCD with a button shieldI changed the code to work with a SSD1306 this work now thanks for that.
but the problem is now the buttons.
pvdbos:
Thats the problem. I have this code from internet it's have a 2X20 LCD with a button shieldI changed the code to work with a SSD1306 this work now thanks for that.
but the problem is now the buttons.
Delta_G
#define BUTTON_NONE 4 // here are connected the buttons
#define BUTTON_RIGHT 5 //
#define BUTTON_UP 6 //
#define BUTTON_DOWN 7 //
#define BUTTON_LEFT 8 //
#define BUTTON_SELECT 9 //
void setup()
pinMode(5, INPUT_PULLUP); //Set pin for time/date mode button to input
pinMode(6, INPUT_PULLUP); //Set pin for time/date mode button to input
pinMode(7, INPUT_PULLUP); //Set pin for time/date mode button to input
pinMode(8, INPUT_PULLUP); //Set pin for time/date mode button to input
pinMode(9, INPUT_PULLUP); //Set pin for time/date mode button to input
the switches are read on line >120
PS: this is not my code I change it to work with a Oled and 5 buttons...
I do not know how this code work.
thanks