Question: Design a problem and write an AVR C program to create 5 inputs with corresponding 5 different outputs. The instruction is listed to follow. Instruction:

Design a problem and write an AVR C program to create 5 inputs with corresponding 5 different outputs. The instruction is listed to follow. Instruction:

?AVR C code must be used

?Any conditional statement must be used (e.g.IF statement or CASE statement)

?At least one time, you must use the time delay for your output

?Bit-wise logic and shift operator

1. You can choose any format of 5 reading from your input PORT. For example, you can use the joystick on the butterfly board to get 5 inputs or you can choose 3 switches to create 5 inputs.

2. You can choose any output method. For example, you can use letters or Display the letters on 7 segment display . Or,you can use ASCII number corresponding letters shown in the table and display on LED in the binary or sequential number using the 7_segment display with delay. (e.g. The hex value corresponding to ASCII letter A can be shown in 7 segments as numbers.)

< Example Inputs and Outputs

Input Output

000 A

001 B

010 C

011 D

100 E

flow chart

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!