You are reading a single comment by @Robin and its replies.
Click here to read the full conversation.
-
'had to change the 1 in line 8 for a 0. Doing that did the trick. I have no clue why!'
No clue without the sensor command set, which wasn't in #1
Maybe argument 2 in L8 should be
Temp_Reg
? e.g. I2C writing a command of sensor give me the temp?Sometimes brute force does work. ;-) Glad you got it working!
Thanks for your input I will next time do all this checklist you suggest because it all makes sense to try, specially the analyzer and decoder thing. !!!
I figured it out by bruteforcing trial and error attempts. In the end I had to change the 1 in line 8 for a 0. Doing that did the trick. I have no clue why!