I need help
Page 1 of 1

Author:  frozenfire777 [ Thu Apr 12, 2012 9:09 am ]
Post subject:  I need help

Is there anyway that i could set nPgmTime to be 0 in the coding,
ie: untilSonarLessThan(6.9,sonar);
(insert code here)

Author:  magicode [ Thu Apr 12, 2012 11:14 am ]
Post subject:  Re: I need help

what are you tying to accomplish? What is "untilSonarLessThan(6.9,sonar);" supposed to do? If you need to use timing, I suggest you use timers instead of trying to change nPgmTime.

Author:  jbflot [ Mon Apr 16, 2012 11:46 am ]
Post subject:  Re: I need help

The nPgmTime value is designed to always say how long the current program has been running, and is therefore not user resettable. You will want to use the user-controllable timers, like magicode said:

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group