Question: Connect a 7 - segment - display with your ATmega 3 2 8 p . Establish connection between your ATmega 3 2 8 p and
Connect a segmentdisplay with your
ATmegap Establish connection between your ATmegap and PC through UARTtoTTL
converter. Write a program in C such that; Initially, ZERO should be displayed on the segment and the program should wait for
the next instruction from PC
If a u is sent from PC to ATmegap the next digit on seven segment should be displayed in ascending order.
Ascending order
If a d is sent from PC to ATmegap the next digit on seven segment should be displayed in descending order.
Descending order
If any character other than u or d is sent, do nothing with segmentdisplay and send
"ERR" back to PC in order to notify error
Code should be in Atmel Studio using ATmegaP
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
