| | Switching Direction
|
| I have a motor which drives a rack mechanism and I'm using a rotation sensor to index my position on the rack. When I program the motor (in NQC) to go forward I want the sensor to count up. If the sensor then actually goes down I want to test for (...) (21 years ago, 18-Jun-03, to lugnet.robotics)
| | | | Re: Switching Direction
|
| (...) I stumbled on this one a few days ago... and ended up with a if(variable)/OnFwd/else/OnRev construction :c( Philo (21 years ago, 18-Jun-03, to lugnet.robotics)
| | | | Re: Switching Direction
|
| ----- Original Message ----- From: "Steven lane" <steveroblane@aol.com> To: <lego-robotics@crynwr.com> Sent: Wednesday, June 18, 2003 2:29 PM Subject: Switching Direction (...) sensor to (...) up. (...) and (...) the (...) round. (...) motor (...) (...) (21 years ago, 19-Jun-03, to lugnet.robotics)
| | | | Re: Switching Direction
|
| (...) I tried it and it works for me :-) On an unrelated note am I right in thingking the only way to get the file "afxdtctl.h" would be to upgrade to Visual c++ Ver 6? Steve (21 years ago, 19-Jun-03, to lugnet.robotics)
| |