I have a project and I'm trying to read a RHT03 temperature and humidity sensor (not very successfully so far). I've got two breakpoints but for some reason one of them is broken. I can't find an explanation of why it's broken and so I'm asking here if anyone has any idea?
If anyone is curious, the above code is attempting to time the high time of the signal.
Edit, forget this bit. The data breakpoints are actually the program breakpoints!!! Also, I somehow have two data breakpoints and can't find how to delete them. Anyone any idea?
When debugging make sure your optimisation is turned low... You may find that the two returns have been combined.. Do both point break at the same place???
I dont use MPLABX but in MPLAB8... Properties ( right click project tree ) Find "Build Options" and then "Compiler"
There should be a small selection of optimization tools... I swap out "PRO" for "Standard"... Or I play with the settings... Once debugged I turn them all back on..