Hardware selectable programming


i don't want nuisance blow board it's worth double checking community.

i have multiple programs present in flash memory , give user option of program run, signalling intent chip maybe shorting 2 pins or tying 1 5v or that.  simple , robust.  since there many i/o pins on arduino figure gives option of running dozens of programs coming different permutations of setting pins high or low.  trouble is, don't want blow board.  other trouble i've noticed pins have floating voltage on them if they're not connected don't want floating voltage accidentally select program unless user sets pin high or low.

what's safest , simplest way give arduino unique input tell run different program using nothing more single wire?

i don't think can have multiple programs loaded @ once, write 1 program did different things depending on status of input pin.

you can avoid "floating input" problem use of internal or external pullup resistor, tying input +5v until external switch connects gnd.


Arduino Forum > Using Arduino > Programming Questions > Hardware selectable programming


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code