|
Question about switching autonomous modes
One of our mentors bought us these switches for us to switch between autonomous modes, and we think that this is an analog switch, but we're not sure. Now, where would we hook these switches up, then how would we read a value from them in the code, and then, what would we test for, to see which autonomous mode to run. We know that digital switches have either a 0 or a 1, but how would we test for a 10 bit value, which I believe that the analog switches return. Any help is greatly appreciated.
|