switch-pico/tests
Joey Yakimowich-Payne 2604ff274b
feat(uart): add v2 protocol with IMU sample support
- Add UART_PROTOCOL_VERSION=2, IMUSample dataclass, conversion constants
- Rewrite SwitchReport.to_bytes() for versioned v2 framing with checksum
- Add ACCEL_LSB_PER_G=4096, GYRO_LSB_PER_RAD_S=818.5, MS2_PER_G constants
- Add SENSOR_ACCEL/SENSOR_GYRO SDL type constants with fallback
- Add protocol round-trip tests (8 tests, all passing)
2026-03-16 11:50:25 -06:00
..
__init__.py feat(uart): add v2 protocol with IMU sample support 2026-03-16 11:50:25 -06:00
test_uart_protocol.py feat(uart): add v2 protocol with IMU sample support 2026-03-16 11:50:25 -06:00