You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
450 B

  1. """Configuration values for the Glitter Positioning System."""
  2. # id should be a unique integer value for each box:
  3. MY_ID = 0
  4. # Compass calibration values. From the CircuitPython REPL, use `import
  5. # calibrate` to find values for MAG_MIN and MAG_MAX:
  6. MAG_MIN = [-0.1883, -0.16002, -0.53634]
  7. MAG_MAX = [0.5887, 0.72618, 0.19474]
  8. # Magnetic North - should be customized for your rough location:
  9. DECLINATION_RAD = 0.1451 # Declination for Boulder, CO