Skip to content

Can we kill PwmPresets? #690

Description

@stefanhaustein

Just stumbled upon them when looking into PWM for PCA9685 support...

Can we remove them? They were missed in the conversion to double and nobody seems to have noticed so far....

We already have on(double dutyCycle, double frequency), which seems to set both atomically and should enable users to implement presets in a straightforward manner.

EDIT: The alternative would be to adjust them to doubles, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupSome kind of cleanup or removal without adding new features

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions