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.

lin

-- 
Lin Gu
Department of Computer Science
University of Virginia
Tel: 434-825-3115
Web: http://www.cs.virginia.edu/~lg6e
--

On Tue, Mar 21, 2006 at 09:07:38PM +, jose m wrote:
 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
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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 Tue, 21 Mar 2006 17:14:51 -0600, Lin Gu [EMAIL PROTECTED] wrote:


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.

lin





--
Force is all-conquering, but its victories are short-lived - Abraham  
Lincoln

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help