Asked
— Edited

While building an Android Mobile app I'm trying to figure out how to use the Slider button to control Roomba drive motor speed. Need some clues.
While building an Android Mobile app I'm trying to figure out how to use the Slider button to control Roomba drive motor speed. Need some clues.
As for setting the speed, you can do so by adding a Slider to the mobile interface and having the EZ-Script use the SetSpeed() command.
You are the absolute expert on the roomba. I just plugged in the cable, put the wires on D0 and selected the roomba Movement and it worked when I hit the arrow keys. Now, on reboot or something like that, I had to play with the button in the top left hand corner. and sometimes the light did not light. It looked like it was off, but Varoom! it controlled the motors. I think that the slider button controlled the speed. I have disassembled the robot so I don't remember.
Hope that this helped. Good Luck, my friend!
Use this with SetSpeed()
i.e.
Code:
This is assumption, I have no roomba to try it on (I'm not even on a PC with ARC either...)