Don't mess with TimerB0. Setting it to Capture causes AMSend.send() to return SUCCESS, but never actually send the packet or trigger a sendDone().
Check the apps/tests directory for succinct examples of specific TinyOS features.
If you are using a TI MCU (cc430 or msp430) and need to directly modify registers or use lower level TinyOS functions, read the .h files in msp430/include (/usr/msp430/include as of 11/27/2012).
tips/tinyos/start.txt · Last modified: 2012/11/27 01:23 by wwhuang