My team decided to use a hardware solution instead. We put a 12-position rotary switch on the robot. It has a little led to indicate which position is selected and it's easy to read using an analog input on the Roborio.
http://www.robotshop.com/en/rotary-e...module-v1.html