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: [email protected] 
  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
  [email protected]
  https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to