Skip to content
Snippets Groups Projects

st3m_leds: make LED indexing clockwise (api breaking)

Merged dx requested to merge dx/clockwise-leds into main
  1. Aug 11, 2023
    • dx's avatar
      st3m_leds: make LED indexing clockwise (api breaking) · 1846391d
      dx authored
      Also:
      
      - improved LED docs
      - fixed the repr of the leds module
      - fixed fix LED_POSITIONS in the sim
      
      About the last point, the previous version was clockwise but not
      starting from the top, but from the "first" LED according to the
      hardware, which is ~11 LEDs after the one at the top. The C firmware
      already adjusts for this.
      
      Not fixed by this commit: Melodic demo (it's already a mess)
      
      Didn't need changes: nick (now rotates clockwise)
      1846391d
Loading