Me again! Turns out I did not 'figure it out' - the hex number for the temperature needs to be a signed hex number - I have no idea how to convert a standard number say 20.5 celsius into a signed hex number! Has anybody got any idea?
Yep, thanks for that. I eventually figured it out
Im building this at the moment and want to add a temp sensor (DS18B20). I get get the sensor to output the temp in Celsius but dont know how to convert it to work with the moonlight protocol, there is also the temp coefficient again what do I do with this?
Any help would be great!