[Tinyos-help] using stdio.h

2006-03-21 Thread jose m
Can I use sscanf in my code for the mica2 mote? (#include stdio.h) Horóscopos, Salud y belleza, Chistes, Consejos de amor: el contenido más divertido para tu celular está en Yahoo! Móvil. Obtenelo en http://movil.yahoo.com.ar

Re: [Tinyos-help] using stdio.h

2006-03-21 Thread Lin Gu
Grammatically, you can include stdio.h in your program. And I think avr-libc has an implementation of sscanf. This means you can use it on Mica2. But you'd better double check the source code that implements it to make sure it suffices for your need -- sometimes the implementation is partial.

Re: [Tinyos-help] using stdio.h

2006-03-21 Thread Sankar Gorthi
What exactly are you trying to do. If all you want to do is read from the serial port buffer, you should try implementing the UART component in your nesC program. TinyOS generates an even every time a byte is recieved and you can use this to perform your task. Hope that helps. Sankar. On