Write C code for Atmega32 programming for the following scenario:
Create a LED pattern with 8 LEDs which will represent the BCD value 0000 1000
The pattern will then start to loop in the following order.
Loop:
{
First 0000 will be on and 1000 will be off for 2.5 seconds.
Next, 0000 will be off and 1000 will be on for 2.5 seconds.
Next all 0000 and 1000 will be on for 2.5 seconds.
Next all will be off for 2.5 seconds.
}
Comments
Leave a comment