individual Ringo idendification ?
Posted: Mon Nov 30, 2015 10:20 am
Hi,
I have two Ringos on which I would like to run almost the same code.
I would prefer to have only one code file, and just modify a few lines
or parameters on each robot. I thought I could do that for example reading some
serial number/identifier on the Ringo and using an if statement
- is there already a Ringo serial number/identification which can be read from the Arduino
code (if yes how to read it) ?
- if none is built in, is it possible to use the trick of writing once a code
in the EEPROM as described in the post by HCF on this page
http://forum.arduino.cc/index.php/topic,45104.0.html
without breaking other Ringo software ? I have seen for example that
there is at least already a variable, GYROSCOPE_CALIBRATION_MULTIPLIER_DEFAULT, written
at GYRO_CAL_MULT_ADDRESS 1020 (in Navigation.h)
Are there parts of the EEPROM which can be used for this purpose without damage ?
Many thanks in advance for your advice
PS some example(s) of interaction between Ringos (or Winks) would be a nice addition to the Guide
I have two Ringos on which I would like to run almost the same code.
I would prefer to have only one code file, and just modify a few lines
or parameters on each robot. I thought I could do that for example reading some
serial number/identifier on the Ringo and using an if statement
- is there already a Ringo serial number/identification which can be read from the Arduino
code (if yes how to read it) ?
- if none is built in, is it possible to use the trick of writing once a code
in the EEPROM as described in the post by HCF on this page
http://forum.arduino.cc/index.php/topic,45104.0.html
without breaking other Ringo software ? I have seen for example that
there is at least already a variable, GYROSCOPE_CALIBRATION_MULTIPLIER_DEFAULT, written
at GYRO_CAL_MULT_ADDRESS 1020 (in Navigation.h)
Are there parts of the EEPROM which can be used for this purpose without damage ?
Many thanks in advance for your advice
PS some example(s) of interaction between Ringos (or Winks) would be a nice addition to the Guide