Open Krastanov opened 6 months ago
The motion sensor (and the whole microcontroler) are usually not oriented such that its Z axis goes through the axis of the LED sphere.
This line takes care of that: https://github.com/qbead/firmware/blob/8b6110f3facfd6b61ff4049e48b7dc6030dbf7fd/qbeadfirmware/qbeadfirmware.ino#L191-L198
It would be nice to be able to reconfigure this mapping without having to modify the library.
These are now configurable:
https://github.com/qbead/firmware/blob/78bbb0b4dd0bb6808103f601b4091156f9616696/src/Qbead.h#L115-L120
but they need documentation (potentially as part of #26 )
The motion sensor (and the whole microcontroler) are usually not oriented such that its Z axis goes through the axis of the LED sphere.
This line takes care of that: https://github.com/qbead/firmware/blob/8b6110f3facfd6b61ff4049e48b7dc6030dbf7fd/qbeadfirmware/qbeadfirmware.ino#L191-L198
It would be nice to be able to reconfigure this mapping without having to modify the library.