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

Reply via email to