I have just bought an Open Thermal Probe Sensors for Lego Mindstorms NXT and I need some more detailed information in how to program to this thermometer in C programming language. I’m aware of the sensor example provided by Dexter Industries, but I need some more implementation info, such as how to handle the raw data from the thermometer and how to convert the temperature to Celsius.
In the temperature sensor example (DEXTER INDUSTRIES - dTemp test.c) C code from the BrickPi_C-master repo, there is a limited amount of documentation. For example I don’t know what the RtRt25 and why 1023 is subtracted from val and why log is used on lnRtRt25. I just need some more thorough explanation for how the code works and how to customize it?