Skip to content

Instantly share code, notes, and snippets.

@ElWazy
ElWazy / double_semaphore.ino
Created October 27, 2021 09:06
Semáforo Doble Arduino
// 0 = GREEN
// 1 = YELLOW
// 2 = RED
int semaphore1[3] = {5, 6, 7};
int semaphore2[3] = {8, 9, 10};
bool pass = true;
void setup() {
for (int i = 0; i < 3; i++) {