Releases: dunknowcoding/RoboServo
Releases · dunknowcoding/RoboServo
v1.1.2
Library Manager fix
- Library.properties url now points to https://github.com/dunknowcoding/RoboServo (was
oboservo/RoboServo\ in v1.1.0, 404). - Version matches this release tag (v1.1.1 tag incorrectly still declared 1.1.0, so the indexer skipped it).
After this release is indexed (usually within 24h), Arduino IDE Library Manager will offer RoboServo 1.1.2. Select an ESP32 or ESP8266 board before searching.
v0.2.0 — Major Improvement: High-Speed PWM & Bug Fixes
Major Improvements
This release extends RoboServo beyond standard 50Hz positional servos with high-speed PWM support, while keeping the existing RoboServo / RoboServoGroup API fully backward compatible.
New Features
- RoboMotor / RoboMotorGroup — kHz-range PWM motor control (default 20 kHz, 1–40 kHz) with duty-cycle API (
write(0–100),writeRaw()) - RoboServoHighSpeed — helper presets for 333 Hz high refresh-rate digital servos using the standard
RoboServoAPI - RoboPwmBackend — internal shared PWM layer with GPIO ownership tracking and separate LEDC channel pools for servo vs. motor outputs on ESP32
- New examples:
HighSpeedServo,MotorPwm,MotorGroup,ServoAndMotor - Documentation — README and keywords updated; ESP32/ESP8266 platform notes for mixed servo + motor usage
Bug Fixes
setFrequency()— fixed re-attach failure afterdetach()cleared_pinto-1, leaving PWM detached- Duplicate GPIO attach — prevent two
RoboServoinstances from attaching to the same pin (returns255) - ESP8266 build — fixed
RoboPwmBackendplatform macro ordering and frequency setup - Examples —
ADCServoControlandServoWithPWMnow compile on ESP8266 with platform-appropriate ADC/PWM code
Verified
All 12 examples compile successfully on ESP32 (esp32:esp32:esp32) and ESP8266 (esp8266:esp8266:generic) via arduino-cli.
Platform Notes
- ESP32: 50 Hz servos and 20 kHz motors can coexist (isolated LEDC timer groups)
- ESP8266: global single PWM frequency — use
RoboServoorRoboMotorper sketch, not both
First Release of RoboServo
This lib is specially designed for my robot project - Project ARMSmart, I think it could be useful to you. For more of my project, please support my YT channel @NiusRobotLab.