Grogster
 Admin Group
 Joined: 31/12/2012 Location: New ZealandPosts: 10120 |
| Posted: 05:18am 25 Jul 2021 |
|
|
|
FOUND THE PROBLEM!!!!
I was NOT releasing the CS pin at the end of each reading, so I guess the chip was doing ONE sample, and then cos I never released the CS pin, it just kept sending the same data each time through the loop.
Results I am getting now: (third column is degrees C)

...and the code I am now using:

Now that I have it working, I can now experiment some more. Results are coming in now for both the original thermo, and the new one I tried. |