Hello list,

I'm under the impression that to share the serial port between AM  
messages and printf I must start/stop the printf service.  I was  
thinking something like

timer fires()
   start printf service using it's splitcontrol

startDone
   printf things
   flush()

flushDone()
   stop printf service

stopDone()
   start the sampling of a sensor or some other task

but this only works one iteration. Judging by the Leds startDone is  
not visited on the second round.

If I never call stop it operates the way I want though AM message  
sending doesn't work then.

Could anyone clarify?

Thanks,
Andy O'Brien


_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to