Question: C Programming Only Requirement : You must demo your program on a dragon12-Light board. Goal : To become familiar with using the analog-to-digital converter units

C Programming Only

Requirement: You must demo your program on a dragon12-Light board.

Goal: To become familiar with using the analog-to-digital converter units on the board, using Dragon12-Light boards, as well to improve your programming skills.

Project: Write a C program to do the following:

Run this example program, LightSensor.txtC Programming Only Requirement: You must demo your program on a dragon12-Lightboard. Goal: To become familiar with using the analog-to-digital converter units on to see how the light sensor inputs are converted to binary data on the controller board; please understand this program completely.

Note the polling method used by the example program.

Modify this program to use interrupt method.

For an example of using interrupt method for ATD, please study Program 13-2C on page 453 of the textbook.

Test your program against the example program LightSensor.txt to make sure you get the same readings.

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!