// CODE TO FLASH LED 2 then LED3 with Pause switch A0
#include "oled.h" //load the oled with Adafruit_SSD1306.h library
//############
int L2 = 2; //LED 2 on PIN 2
int L3 = 3; //LED 3 on PIN 3
int L4 = 4; //LED 4 on PIN 4
void setup() {
setup_oled(); // Start the OLED Display
}
void loop() {
display_counter(HIGH); //NEEDED FOR DISPLAY TO WORK ## ALL LOOP CODE UNDER THIS
zerocounter(20); // ZERO the counter loop after 20secs
//put your code in here
digitalWrite(13, HIGH); //Tiny LED on Pin 13 on board
delay(50);
digitalWrite(13, LOW);
delay(50);
digitalWrite(10, HIGH); //Tiny LED on Pin 10 on board
delay(50);
digitalWrite(10, LOW);
delay(50);
digitalWrite(11, HIGH); //Tiny LED on Pin 11 on board
delay(50);
digitalWrite(11, LOW);
delay(50);
digitalWrite(12, HIGH); //Tiny LED on Pin 12 on board
delay(50);
digitalWrite(12, LOW);
delay(50);
}
Loading
ssd1306
ssd1306