AVR Development Board – AVR-DK20A User Manual
24
(b) Tutorial 1b – Flow Chart
Start
Initialize I/O
Infinity
L
Set y = 1, Set t = 0x80
Shift y 1 bit to left
Output y to LED
Delay 150ms
i < 7?
Shift y 1 bit to right
Output t to LED
Delay 150ms
i < 7?
Y
N
N
Y