Scott Shawcroft

Results 100 comments of Scott Shawcroft

I installed from source and it works. Thanks again!

Looks like it was 2.0.0 that was included. The notes are here: https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation/releases/2.0.0 Here is an example change: https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation/commit/cbfa114e7d104a6757d3ab749153d1b284a9c8c2#diff-879798843e31cea6b37d583453edd26f It looks like you may need to modify the first import...

> The only documentation I have found for extending CircuitPython in C is https://learn.adafruit.com/extending-circuitpython and that is not updated since 2019 - with notes that there are known incompatible changes...

I started a port so I'll make a pr once it's going. Thanks!

Here is CircuitPython's ramp. We use a luma computation instead of a direct average. ![97476038-32a5e680-190b-11eb-919b-f718c8df3f7b](https://user-images.githubusercontent.com/52649/97476558-c37cc200-190b-11eb-881a-ab04a2a2a0fc.jpeg)

Note that we have slightly different settings at the moment that lead to a darker light gray.

Here is our code: https://github.com/adafruit/circuitpython/blob/main/shared-module/displayio/ColorConverter.c#L54-L59 I can't quite remember where I got that formula. Probably wikipedia.

Note that you can get more brightness control by increasing the bit depth (at the cost of RAM). Thanks to the comment here: https://github.com/adafruit/circuitpython/issues/3409#issuecomment-1955756380

We'd love to have it too! A while ago I spent time trying to document the registers on the SAMD51 and port FreeTouch to it. I did enough to believe...

Stubborn-ness mainly. We definitely could. It's just not the ideal.