Hi everyone,

I want to print all the temperature readings from the SHT11 sensor of the
MTS400 sensorboard to the serial port, and view them using puTTY (I am using
Ubuntu9.10).

I am first testing the simple Printf application available at
/opt/tinyos-2.1.0/apps/tutorials/Printf/ to test the UART communication of
the micaz mote. Based on the tutorials, I should expect this output:

Hi I am writing to you from my TinyOS application!!
Here is a uint8: 123
Here is a uint16: 12345
Here is a uint32: 1234567890


But instead I have got the following printing on the puTTY screen:

~E��dHi I am writing to you from �~~E��dmy TinyOS application!!
HereF�~~E��d is a uint8: 123
Here is a u��~~E��dint16: 12345
Here is a uint3�J~~E��d2: 1234567890
��~

Can someone explain to me where do the trash bits come from and how can I
get rid of them to have a clean output print.


Patrick
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to