Question: Please use C language to write the program, dont use C++ or any other programming language, the purpose of this program is to turn on
Please use C language to write the program, dont use C++ or any other programming language, the purpose of this program is to turn on the LEDs in E3mini Development Board. Thank you. PROJECT ELEC 420 WINTER 2018 Part 1 Objective: Learn how to perform discrete input and output operating in C. Experience with borh seven-segment LED and keypad. Requires: E3 module, USB cable, PC, 3 x 4 keypad, seven-segment LED with resistors on each anode and wires to connect to the E3 Steps/Technical Procedure 1. Write a program that will repeat the following actions: Notes a. Light the green LED and wait for a button press b. After the button is released, light just the yellow LED for 1 second c. Then light just the red LED for 1 second d. Finally turn off all LEDs and sound the buzzer with a 1-khz tone for 3 seconds The buzzer on this board is actually just a piezo speaker. To make a tone you must generate a 0 to 5V square wave to the device at the desired frequency HINTS: Consider what must be done regarding debounce of the switch. . Make sure the tone sounds right and is not half or double the desired frequency
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
