Let us have the presentation first
Now we have 8 7-segment display.
How many microcontroller pins are required to interface it.
You might me thinking it would be 8x7=56. Microcontroller don't even have that many I/O.
So we would go ahead for multiplexing which would utilize just 16 I/O lines
Refer to schematic below
Now i have 2 codes for this that explain different cases when you work on it
You can see all compiler details on page Atmel AVR page
You can download the codes from
1) here
2) here
No comments:
Post a Comment