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.
1.4m articles
1.4m replys
5 comments
57.0k users