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
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