Drugo
Junior Member level 2
Hello, I am experiencing a weird behavior with temperature readings from a DS18B20 Dallas temperature sensor. I am using a dsPIC33, ICD3 for debugging/downloading the firmware, XC16 compiler and I display the temperature on the console through serial port.
The problem is that I perfectly read the temperature in debug mode, while, in production mode, I read Temperature LSB and Temperature MSB of the scratchpad always equal to zero. :bang:
I am in big trouble because I have to deliver the firmware for the production next Tuesday. Could anyone please help me to fix this issue?
Thanks a lot in advance :thumbsup:
The problem is that I perfectly read the temperature in debug mode, while, in production mode, I read Temperature LSB and Temperature MSB of the scratchpad always equal to zero. :bang:
I am in big trouble because I have to deliver the firmware for the production next Tuesday. Could anyone please help me to fix this issue?
Thanks a lot in advance :thumbsup:
Last edited: