I have to implement a reset with MCLR when I push a button on PIC24FJ128GA010 controller. Does anyone no if I have to connect a port to MCLR and write a zero or is there any default instruction on C to do it?
You can't reset the controller with writing a zero to the MCLR port, but the controller has a build in reset function. Just use:
asm("RESET");
See here for details.
2.1m questions
2.1m answers
60 comments
57.0k users