|
Re: Programmatically Determine Which Rio Code is on
Our solution to the close-but-not-identical-robot problem many years ago was to put a jumper on one of the DIO ports. One robot read the input as "true", the other read "false". I think the code picked a different set of PID constants and sensor calibration points for each robot.
If you have several robots, you can use multiple Digital Inputs. Or you might use a simple resistor divider circuit on an Analog Input, with each robot having a unique "ID voltage".
|