RED LED at 13, BLUE LED at 12 - Police Lights
int main() {
DDRB = B00110000;
PINB = 1 << PINB5;
while (true) {
PINB = B00110000;
for (long i = 0; i < 500000; i++) {
asm("");
}
}
}
Tags: Arduino, AVR, ATmega
int main() {
DDRB = B00110000;
PINB = 1 << PINB5;
while (true) {
PINB = B00110000;
for (long i = 0; i < 500000; i++) {
asm("");
}
}
}
Tags: Arduino, AVR, ATmega