I'm using the DS18S20 and it uses two bytes that I place into a word variable.
If you need to read two seperate bytes into one word variable try this:
temp var WORD
[temp.Lowbyte,temp.Highbyte]
I'm using the DS18S20 and it uses two bytes that I place into a word variable.
If you need to read two seperate bytes into one word variable try this:
temp var WORD
[temp.Lowbyte,temp.Highbyte]
Bookmarks