Question: Use one pushbutton connected to PE1 and one LED to PEO. Complete the C code in Question 1 project' given to implements a NOT gate
Use one pushbutton connected to PE1 and one LED to PEO. Complete the C code in "Question 1 project' given to implements a NOT gate (if the pushbutton pressed, the LED will be OFF if the pushbutton released the LED is ON ). 1. Implement a Heartbeat on PF2. 2. Use the software debugging to test your code. 3. Insert a copy of your main code. 4. Take a capture for the TExaS output. 5. Open the logic analyzer, run the code and take a capture for the input, output and heartbeat signals. [Led's, Pushbutton] 6. Use:-pCM4 -dEE319KLLab3 Question 2 [ 8 Pts.] In the "Question 2 project" given, PF1 and PF2 have been initialized and then toggled to produce two out of phase square waves. You are required to do the following: 1. Read and understand the code. [write comments on every line] 2. Debug the pfoject 3. Open the logic analyzer, run the code and take a capture for PF1 and PF2 waveforms from the logic analyzer window 4. Stop the debug 5. Write a delay function to be called between the toggles (delays around 62msec ) 6. lesplementistleartbeabonifis. 7. Debug the project again 8. Take a capture for PF1, PF2 minss waveforms from the logic analyzer window after adding the delay and the Heartbeat. 9. Take a capture for the TExaS output. 10. Use:-pCM4 -dLaunchPadDLL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
