ADS boot DIP switches typically map directly to IO bits in some hardware on the board. This set of classes and sample show how to read the state of those lines.
Note: This sample currently only supports the BitsyX, which uses two bits on the SA-1111 companion chip for the switches. See rev 2, below, for support of the BitsyXb.
This new sample supports reading the Dip Switches on the BitsyX and the BitsyXb. The BitsyXb uses two bits directly on the PXA270 processsor for the switches.