No Description

glitterpos_cfg.py 450B

123456789101112
  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