| | Re: How is this? Gus Jansson
| | | (...) I can see how this can happen and it depends on the sequence of events. This sequence will cause this behavior: touched AND distance < 9 - Motor turns on touched AND distance > 9 - Motor running, waiting for distance < 9 untouched AND distance (...) (14 years ago, 23-Jan-10, to lugnet.robotics.nxt)
| | | | | | | | Re: How is this? Kevin L. Clague
| | | | | (...) Yes, change the "wait for 9" to be a "check for 9", and the problem should go away... Loop forever if Touched and distance < 9 { turn on motor } else { turn off motor } Kevin (14 years ago, 19-Aug-10, to lugnet.robotics.nxt)
| | | | | | |