putu WROTE:Can you please let me know how I can see the temperature reading/ADC value of the sensors using the MPlab IDE software? I want to see in real time that these value change as the temperature increase or decrease. For debugging / troubleshooting purposes. Thanks!
There are a few methods:
- You can use a debugger to check the value of ADRESH/L register. This method can be done with MPLAB IDE + Debugger (PICkit2, PICkit3, ICD2, or ICD3, UIC00B is compatible with PICkit2). Anyway, you will need to check the User's Manual of specify tools to perform debug.
- You can develop UART function and send the register (ADRES) to computer and display it with any available terminal program such as HyperTerminal, RealTerm, PuTty, etc.
- Yan can add LCD and use some available LCD function to display the value on LCD.