Apollo-Simulation-Peripheral-Lab / DSKY

An affordable and easy to manufacture DSKY replica
https://shop.ortizma.com
7 stars 4 forks source link

Software PWM Control #14

Closed Aeasala closed 2 months ago

Aeasala commented 6 months ago

PWM value should be received from the application level as a {uint8_t} brightnessVal from [0, 255]

Alarm board PWM value should be [0, 255] from dim to bright.

Future high-side p-channel FET should be {255 - brightnessVal}, or ones-complement {~brightnessVal}, i.e. from [255, 0] for dim to bright.

Aeasala commented 6 months ago

i will try to get some info today when the boards arrive

Aeasala commented 2 months ago

has been completed by #22