http://docs.tinyos.net/index.php/Writing_Low-Power_Applications
  ----- Original Message ----- 
  From: 씨티정보기술 
  To: [email protected] 
  Sent: Saturday, December 06, 2008 8:48 AM
  Subject: [Tinyos-help] How to put mote to sleep


   

  Hello all,

  I'm using telosb mote and trying to put it to sleep in tinyos 2.x with Null 
application(%TOS/apps/Null) listed below.

   

  I think my mote will go to sleep after booted by scheduler but the current 
draw is about 31mA.

  How do I to put my mote to sleep?

   

  Thanks.

   

  J. Jeong.

   

  // NullAppC

  configuration NullAppC{}

  implementation {

    components MainC, NullC;

   

    MainC.Boot <- NullC;

  }

   

  // NullC

  module NullC @safe()

  {

    uses interface Boot;

  }

  implementation

  {

    event void Boot.booted() {

      // Do nothing.

    }

  }



------------------------------------------------------------------------------


  _______________________________________________
  Tinyos-help mailing list
  [email protected]
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to