Hello everyone, I'm using adcs of LPC1768 to read 2 temperatures of two LM35 sensors. I receive the correct temperature from one of the sensors, but keep receiving a constant number like 151 from the other one. My code used to work fine before, but I had to reprogram my board with another computer and all of a sudden this problem showed up. I added the C files of keil. I was wondering if you you'd mind helping me resolve this issue
Thanks in advance
已解决! 转到解答。
Hi Alex,
If there was no modification to the code then software should not be an issue. I would check hardware connections, if sensor is appropriately connected or even testing with an external power supply instead of sensor.
If you think code maybe was modified then I recommend you to compare register configuration for each channel and see if there is any difference.
Best regards,
Felipe
Hi Alex,
If there was no modification to the code then software should not be an issue. I would check hardware connections, if sensor is appropriately connected or even testing with an external power supply instead of sensor.
If you think code maybe was modified then I recommend you to compare register configuration for each channel and see if there is any difference.
Best regards,
Felipe