[Tinyos-help] Tmote UART0 RX?

2008-07-02 Thread Danne
Hello. I have tried works the ample code TestUart0 using tinyos 1.0 version. The error is showed: 21: parse error before 'new'. What is wrong? I don't change nothing in the code, and I'm trying connect a GPS module serial with a Tmote Sky. Any other code example? Thanks

Re: [Tinyos-help] Tmote UART0 RX?

2006-08-08 Thread Ronald Peterson
I have it working. There were several things needed: * Make the POT_SHDN/UART0 pin an input using "TOSH_MAKE_AD524X_SD_INPUT();" (needed since I am using an Invent which already uses pin 33 of the msp430 for the POT_SHDN line. This also makes the accelerometer and light sensor unusable whil

Re: [Tinyos-help] Tmote UART0 RX?

2006-08-04 Thread Joe Polastre
Hi Ron, First of all, SP only controls UART1 which is connected to USB. For UART0, you should check out our support page: http://www.moteiv.com/community/Boomerang_UART0_Sample Once you acquire the resource, where it says "do work here", you can read and write bytes to and from HPLUSART0. -

[Tinyos-help] Tmote UART0 RX?

2006-08-04 Thread Ronald Peterson
Hi, I'm looking for an example of -reading- data from the Tmote (Sky or Invent) UART0 serial port. I found the code that writes to it, but after looking through the SP source, UART0 components, and trying a variety of experiments I can't seem to read any bytes. Is bus arbitration required fo