I am integrating a wireless module to a DT80, which has a serial connector, and we have integrated a small amount of code to ensure that the wireless device sends back a reading when polled.
However, when sending the command:
1SERIAL("{\er001}%f[1CV]")
The serial return times out, even though the buffer says it has read the correct figure and that there is nothing left in the buffer. If i ask for a decimal return (i.e. output is 25.4 degC ) 1SERIAL("{\er001}%d[1CV]") 1CV=25 and .4 is left in the buffer.
Am I doing something wrong? but i want the floating point to be held in 1CV. but it feel like its looking for something else after it, this is my only explanation for it subsequently timing out.
Would have had debug code to shown but failed to save when out at client. Will generate more tomorrow, but pointers welcome from dataTaker or other experts.
Best regards,
Peter