adafruit / Wippersnapper_Protobuf

Protocol buffer messages for Adafruit.io WipperSnapper Beta
MIT License
0 stars 2 forks source link

Add PWM API #100

Closed brentru closed 2 years ago

brentru commented 2 years ago

Adding PWM API to address https://github.com/adafruit/Wippersnapper_Protobuf/issues/37

Two primary options:

Required before merging:

@lorennorman I've marked some of the older prototyping for PWM API within pin.proto as deprecated. Do you think we should delete these unused and unreferenced messages instead?

brentru commented 2 years ago

Noting in this PR that we've discussed deprecation and are moving on. In the future we may want to try reserved fields or attempt this on staging prior to leaving beta program.

brentru commented 2 years ago

@lorennorman I added https://github.com/adafruit/Wippersnapper_Protobuf/pull/100/commits/3cc4901728493abd4e4520a7fc3eb4eedac1b5ff to address writing different duty cycles to different pins for the case of RGB/RGBW LEDs.

If this looks good to go, I'll merge in.