A Dish Best Servo'd Cold
g8_big_geek
Posts: 15
·I am trying to:
All of this so I can account for how long I caused the motor to spin (from the time of its initial begin command to the time I hit the switch to stop it).
I think I'm doing something wrong b/c I keep looping it to death and my times are all messed up. I'm using BASIC Stamp v2.2.
Does anyone have any thoughts?
- Start·a timer.
- Then initiate the (continuous rotating) servo to spin clockwise (and/or counter clockwise) until
- IN3 = 1, and/or until I switch it to stop, then
- Stop the timer (timecounter) and
- report time (by sending that number to PLX-DAQ Excel)
All of this so I can account for how long I caused the motor to spin (from the time of its initial begin command to the time I hit the switch to stop it).
I think I'm doing something wrong b/c I keep looping it to death and my times are all messed up. I'm using BASIC Stamp v2.2.
Does anyone have any thoughts?
Comments
' {$STAMP BS2}
' {$PBASIC 2.5}
Post Edited By Moderator (Chris Savage (Parallax)) : 11/20/2008 10:51:39 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering