Question: Exercise 1 Free running mode Write a C program for the AT 9 0 that accomplishes the following tasks: 1 . The ADC is configured

Exercise 1 Free running mode
Write a C program for the AT90 that accomplishes the following tasks:
1. The ADC is configured to free running mode, 8-bit resolution, input from potentiometer 1
(ADC2).
2. The result of the AD convertion is displayed in binary form on the LED strip (PORTC).
3. The lamp (PB6) flashes: The duration of the lamp being on is 15ms. The duration of the lamp
being off is 5ms times the result of the AD conversion.
4. The program continues from step 2.

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!