rspace-online/backlog/tasks/task-128 - Pico-firmware-—-...

954 B

id title status assignee created_date labels milestone dependencies priority
TASK-128 Pico firmware — servo + LED drivers Done
2026-03-29 20:51
firmware
hardware
m-2
high

Description

Write config.py, servo_driver.py (PCA9685 I2C, smooth interpolation), and led_driver.py (GPIO PWM brightness) for Raspberry Pi Pico.

Acceptance Criteria

  • #1 PCA9685 init at 50Hz, set_angle with 500-2500us mapping
  • #2 Smooth interpolation in configurable degree steps
  • #3 LED PWM 0-255, blink helper, deinit cleanup
  • #4 Config centralises all pin/calibration constants

Final Summary

Three firmware files: config.py (constants), servo_driver.py (PCA9685 two-class design with smooth interp), led_driver.py (hardware PWM on GP15).