The PIC18F47Q10 features Three 8-bit Timers/Counters with One-Shot Operation. In this demo, uses TMR4 peripheral in One-Shot to stop TMR2 if an external pin is pulled to GND for more than a desired period.
The following pin configurations must be made for this project:
|RE0||Digital output (LED0)|
|RC7||Digital input as TMR4 trigger|
Timer4Period(500ms), then LED0 will stop blinking.
This project showcases how easy it is to use the TMR4 of PIC18F47Q10 in One-Shot mode with external signal as reset.