v1.5.0 — pneumatics, button toggle, joystick curve
Added
clockwork::Pneumatics— wraps an ADI solenoid piston (clamp, wings, tilt) withextend(),retract(),set(),toggle(), and a rememberedextended()state.clockwork::Toggle— latches a boolean on the released-to-pressed edge of a button, so one press toggles once. Pairs with Pneumatics for one-button clamps and speed modes.clockwork::joystickCurve(input, curve, deadband)— exponential joystick shaping with a deadband, for fine low-speed driver control that still hits full power at the ends.- Host tests now cover Toggle and joystickCurve. 29 checks, all green (
make test).
Changed
- Rewrote the header comments across the whole library in a plainer, more human voice. No API or behavior change.
Install
pros c add-depot clockwork https://raw.githubusercontent.com/AkshobyaRaoSWE/clockwork-lib/main/depot.json
pros c apply clockworkDocs: https://akshobyaraoswe.github.io/clockwork-lib/ · Full changelog: CHANGELOG.md