Question: The hal _ entry.c file should be like the following code * Port Control Register 1 on P 4 5 1 of S 7 G
The halentry.c file should be like the following code
Port Control Register on P of SG databook
#define PPCNTRvolatile unsigned long xC
void halentryvoid
PPCNTRx; set signal P as an output signal
while
WC turn on the green LED
for int i; i; i PPCNTRx;
for int i; i; i PPCNTRx;
Build the project again and download the machine code to the microcontroller board. Is the green LED
blinking after the program is executed? Use an oscilloscope to measure signal P and attach a hardcopy
of the signal here. How long does the green LED keep on measure the duration for the low voltage How
long does the green LED keep off measure the duration of the high voltage Can a human being react to
this change?
Click Terminate icon to stop the debug process and modify the code.
Use the following code replace the code in while loop:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
