(Serial+servoEngine)+PING = Crash?!?!?!
Microcontrolled
Posts: 2,461
If I run the PING sensor on my remote controlled robot, the system will crash after a while of operation.
I had this problem on a different robot that eventually made me put it away because I can find no cure. If I remove the PING sensor from the code, it works fine. Otherewise, all I get is error. The periods of time before it crashes are random, ranging from a few seconds to 5 minutes, but it always happens. The batteries are fine.
I am controlling it wirelessly with an Xbee-enabled remote.
Can someone help please??
Thanks,
Micro
I had this problem on a different robot that eventually made me put it away because I can find no cure. If I remove the PING sensor from the code, it works fine. Otherewise, all I get is error. The periods of time before it crashes are random, ranging from a few seconds to 5 minutes, but it always happens. The batteries are fine.
I am controlling it wirelessly with an Xbee-enabled remote.
Can someone help please??
Thanks,
Micro
Comments
Or, it could be the ping's problem.