Hi all:
 
Now I am analysing the atemga1281 sleep and active time on tinyos-2.x 
platform,and I find a method in a paper using Oscilloscope: an output pin was 
turned on in each ISR when the processor woke up from a sleep mode,the 
TOSH_run_task() function turned off the output pin before executing the AVR 
sleep instructio. So I follow it to turn off the output pin in the 
Scheduler.taskLoop() of tinyos2.x  just before the McuSleep.sleep() 
instruction. But I do not know where to turn on the output pin on tinyos2.x 
platform.
 
Can anyone help me? Or other ways to analysis the mcu sleep and active time?
 
Thanks
 
 


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to