Frequently Asked Questions

How do you view float variables inside MPLAB® IDE?

When you add a watch for a float variable MPLAB commonly only watches it as an 8bit register. In the Watch Window, highlight the float register you want to watch and right click and choose properties. A dialog box will open, you will want to change the properties to these settings:

Size: 32 bits
Format: MCHP Float
Byte Order: Low:High