Yes, providing the switch is not on MCLR, ICSPCLK, or ICSPDAT.Yes- use the debugger, place a few NOPs before the test of the switch state, set a breakpoint on the NOP.
Run the code and step through with the switch closed and then open.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
![]() |
AC/DC module fails on ESD test | Test & Measurement | 17 | |
J | How use DMM to determine earth potential test point for O'scope | Test & Measurement | 12 | |
K | How to test UART communicate with scope | Microcontrollers | 18 | |
C | Boiler circuit board test bed help? | General Electronics Chat | 6 | |
![]() |
Starship Flight Test | General Science, Physics & Math | 16 |
by Jake Hertz
by Jake Hertz
by Aaron Carman