henninggs
Member level 2
I have 4 PCB's with a microcontroller on each. The boards are identically in both hardware and software.
Now when powered on I would like MCU A to run subroutine A, MCU B to run subroutine B and so on. - so I need a way to tell each MCU what to run.
This could be done with at dip switch and a shift register or I could read the value of a resistor. A voltage drop of 0.5v could mean subroutine A, a voltage drop of 1v subroutine B and so on, but this would require that the MCU has a ADC.
If I had a register with a fixed factory-stored value that behaved like a shift register the MCU could just clock the number/value out at start up.
Does such a device exists ? (Need something around 8 bit)
Thanks for any replies.
Regards
Now when powered on I would like MCU A to run subroutine A, MCU B to run subroutine B and so on. - so I need a way to tell each MCU what to run.
This could be done with at dip switch and a shift register or I could read the value of a resistor. A voltage drop of 0.5v could mean subroutine A, a voltage drop of 1v subroutine B and so on, but this would require that the MCU has a ADC.
If I had a register with a fixed factory-stored value that behaved like a shift register the MCU could just clock the number/value out at start up.
Does such a device exists ? (Need something around 8 bit)
Thanks for any replies.
Regards
Last edited: