[Tinyos-help] motor for 5 seconds

André Miguel de Almeida Marrão Rodrigues andremiguelrodrigues at gmail.com
Mon Jul 30 10:27:35 PDT 2007


I'm not sure...

But why don't you define a timer to fire 5 seconds in the future?

André



  ----- Original Message ----- 
  From: Dev Narasimhan 
  To: tinyos-help at Millennium.Berkeley.EDU 
  Sent: Monday, July 30, 2007 3:47 PM
  Subject: [Tinyos-help] motor for 5 seconds


  Hi. I'm trying to find a way to write a command that can run a DC micromotor for 5 seconds before setting the PWM signal to low and stopping the motor. I know I should use the Timer command, but how do I incorporate the length of time? 



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


  _______________________________________________
  Tinyos-help mailing list
  Tinyos-help at Millennium.Berkeley.EDU
  https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070730/343768c7/attachment.htm


More information about the Tinyos-help mailing list