#include <Arduino.h>
#include <ssd1306xled.h>
int i=1;
int buzz3 = PB3;
int buzz4 = PB4;
void setup() {
pinMode(buzz3, INPUT_PULLUP);
pinMode(buzz4, INPUT_PULLUP);
SSD1306.ssd1306_init();
}
void loop() {
SSD1306.ssd1306_setpos(0, 0);
SSD1306.ssd1306_string_font6x8("Press Any Button");
if (digitalRead(buzz3) == LOW) {
SSD1306.ssd1306_setpos(0, 0);
SSD1306.ssd1306_string_font6x8("This is PB3 ");
delay(200);
}
if (digitalRead(buzz4) == LOW) {
SSD1306.ssd1306_setpos(0, 0);
SSD1306.ssd1306_string_font6x8("This is PB4 ");
delay(200);
}
}