[riot-notifications] [RIOT-OS/RIOT] saul_pwm: auto-init'able RGB LEDs and dimmers (#15106)

chrysn notifications at github.com
Thu Nov 5 19:09:33 CET 2020


Now errs rather than overflowing. (Due to the bitmath involved, overflowing in the percent range caused particularly odd errors.)

This can be tested by just using the saul example with values > 255, or by changing it to set
```
data.unit = UNIT_PERCENT:
```
in sys/shell/commands/sc_saul_reg.c:122 and giving values >100.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15106#issuecomment-722547329
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201105/011d75e9/attachment.htm>


More information about the notifications mailing list