I've been searching the forums and found something close (DIP Switch 8 Position to address Sensor), but not quite there, I'm looking for a definite confirmation that this is possible.
I'm planning to use rotary dip switches to set a couple of values, first value is to be 0-999, the second and third 0-99.
My question is, can I put the routine to read the switch hex values, convert them to decimal, and set the values to constants in the setup portion of the program?
I then intend to use those values in the LOOP portion of the program. They only need to be read once when the system is first powered up.
Does this make sense?