ROMEO: many questions but I will start here

I saw the wiki and it has an example of using the switches S1-S5, but I don't understand what the switches are FOR. Can someone please explain to me what they use those switches for?
2013-06-05 02:01:23
Hi,
The wiki has an example on how to read them and output some serial, so you can adapt it to your own requirements.
For example, if you want your Romeo board to perform a certain action under a key press S3, then you can add a if ( keypress ==3 ) do something..
But if you dont need it, you can just disable the buttons.
It is quite useful if you want a preset configuration. For example, i want my robot to be a line follower, but if i press S1 then it will be a wall following robot. Or if I press S2 it will enter in debugging state printing information on a LCD..
Jose
Hi,
The wiki has an example on how to read them and output some serial, so you can adapt it to your own requirements.
For example, if you want your Romeo board to perform a certain action under a key press S3, then you can add a if ( keypress ==3 ) do something..
But if you dont need it, you can just disable the buttons.
It is quite useful if you want a preset configuration. For example, i want my robot to be a line follower, but if i press S1 then it will be a wall following robot. Or if I press S2 it will enter in debugging state printing information on a LCD..
