Sample Code which is similar code which I successfully use with Thingspeak
main:
readtemp C.1, temp_now 'Read temperature from DS18B20, and store it in b1.
bintoascii temp_now,b11,b12,b13 'Convert current temperature from binary to ASCII.
serout C.4,baud,("AT",13,10) 'Send attention...