|
Re: SW bug has ME stumped!!!
I think I've got it....You're not looking for a state change in the sensor. The first program loop runs with the UP switch on, teledirection is set to 1, the next loop, the sensor is still on, and the program thinks that the chain is at its limit...Making sure the sensor changes states should take care of it.
|