|
We used a $5 Omron BCD thumbwheel switch from Digikey (SW505-ND, pg. 814, Fig. 3). We wired this to three digital inputs on our OI, giving us 8 programs to choose from (the switch actually has 10 BCD positions 0-9, but we didn't need the extra programs and didn't want to consume an additional OI digital input). The switch had a built-in numeric display to indicate the program number selected, and it was nice have 8 programs at the expense of only 3 digital inputs, but the one button counter increment solution mentioned above is an even better way to conserve I/O.
__________________
Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
|