Skip to content

Cleanup Servo code to leverage SoftPWM as a basis #81

@xtacocorex

Description

@xtacocorex

The current servo code is prone to large jumps when sitting idle. Essentially wrap the SoftPWM library with abstractions to control by just and angle. This would make it suck less.

Servo has a constant frequency of 50Hz, 0 position PW = 1.5ms, Neg Max PW = 1ms, Pos Max PW = 2ms.

Refer to this:
https://bbs.nextthing.co/t/chip-io-softpwm-doesnt-work/14317/3?u=xtacocorex

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions