Hi all,
I am a college student working on a design project, I am currently trying to
modify the Blink program such that upon receiving radio packets, I will write
data to the UART0 pins. I have a few questions because my code doesn't seem to
be working right:
I am using TelosSerialP.nc, PlatformSerialC.nc, Msp430Uart0C.nc, Msp430Uart0P,
and BlinkToRadio.
Question 1: I read something about shared resources for UART and Radio for
TelosB, is it true that I have to turn off the resource for UART while waiting
for radio packets and turn off the radio control for UART writing? If so,
Resource.request() and Resource.release() will do?
Question 2: I am using UARTStream to write data to the UART0 port, I might have
some wrong settings on hyperterminal but I am not seeing anything. However, I
do see signals on the oscilloscope although I don't know how to interpret them.
For example, I do UartStream.send("1010", 4)
That should send raw data "1010" string to the Uart0 is that correct?
Thanks a lot!
_________________________________________________________________
Windows Live SkyDrive lets you share files with faraway friends.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_052008_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help