Question: Microcontroller using C program * Write a C program that does the following on the DEO-CV Computer: 1. Read the values set in the on-board

 Microcontroller using C program * Write a C program that does

the following on the DEO-CV Computer: 1. Read the values set in

Microcontroller using C program

* Write a C program that does the following on the DEO-CV Computer: 1. Read the values set in the on-board switches, SW9-SWO Example: Value = "Pt1);//Ptri is a pointer that contains the address of Sw9-SWO 2. Display (write) the SW switch values on the green LEDs, LEDG9-LEDGO 2. Display the current date on HEX displays HEX3, HEX2, HEX1, HEXO This is to be done in two passes: Pass 1: Output the month day year 0219 Pass2: Output the Lab 2020 3. The program should loop continually Below is a possible template int main(void) /Declare volatile pointers to 1/0 registers (volatile disables compiler optimizations) / green LEDS HEXS_HEXO SW slider switches patterns for HEX displays while(1) Int delay_count: for (delay_count = 1000000; delay_count != 0; delay_count--> /* loop produces a time delay before the next line-of-code is executed. Adjust for desired delay */ * Write a C program that does the following on the DEO-CV Computer: 1. Read the values set in the on-board switches, SW9-SWO Example: Value = "Pt1);//Ptri is a pointer that contains the address of Sw9-SWO 2. Display (write) the SW switch values on the green LEDs, LEDG9-LEDGO 2. Display the current date on HEX displays HEX3, HEX2, HEX1, HEXO This is to be done in two passes: Pass 1: Output the month day year 0219 Pass2: Output the Lab 2020 3. The program should loop continually Below is a possible template int main(void) /Declare volatile pointers to 1/0 registers (volatile disables compiler optimizations) / green LEDS HEXS_HEXO SW slider switches patterns for HEX displays while(1) Int delay_count: for (delay_count = 1000000; delay_count != 0; delay_count--> /* loop produces a time delay before the next line-of-code is executed. Adjust for desired delay */

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!