Hi Andreas,

you can use Msp430Uart0C component (folder C:\cygwin\opt\tinyos-2.x\tos\chips\msp430\usart). This componet provides Resource, UartStream and UartByte.

I prefer other choice: You copy the files PlatformSerialC and TelosSerialP from C:\cygwin\opt\tinyos-2.x\tos\platforms\telosa in your Application folder. In the first file change the component Msp430Uart1C by the other uart and in the file TelosSerialP you can change others parameters as parity, stop bits, etc. I prefer this option because only i have to init the componet once with the StdControl interface.

I hope that help you.

A greeting,
Juan Antonio.

----- Original Message ----- From: "Andreas Reinhardt" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 20, 2008 4:28 PM
Subject: [Tinyos-help] Accessing UART0 on TelosB


Hi there, I was wondering whether someone had a sample implementation that offers serial connectivity over UART0 (the one on the extension header) as well as using the radio transceiver (including resource arbitration and all the other stuff that needs to be catered for). If so, please let me know.

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



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

Reply via email to