Question: Write the program to control 6 LEDs blink in sequence as the LED state from the picture below (Left to right). After the LED no.

Write the program to control 6 LEDs blink in sequence as the LED state from the picture below (Left to right). After the LED no. 5 blink, the next LED will be restarted to LED no. 0 (Left hand side LED).
can you write like this for me
//Arduino pin 8 = PB0 //Arduino pin 9 = PB1 //Arduino pin 10 = PB2 //Arduino pin 11 = PB3 //Arduino pin A1 = PC1 void setup() { DDRB = 0b00001111; }
void loop() { PORTB = 0b00001001; delay(1000); PORTB = 0b00000110; delay(1000); }
DIGITAL (PWM-) TX1 RX0 OO UNO ARDUINO ON TX RX POWER ANALOG IN IDREF
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
