FrameworkComputer / inputmodule-rs

Framework Laptop 16 Input Module SW/FW
MIT License
223 stars 24 forks source link

Set individual pixels on LED matrix #112

Open mb720 opened 1 month ago

mb720 commented 1 month ago

Hi and thanks a lot for inputmodule-rs!

In case I haven't missed anything, there's no way with inputmodule-control to set individual pixels on the LED matrix.

Optimally, users could pass a list of 9x34 brightness values to inputmodule-control which set each LED to the respective brightness.

TomFaulkner commented 1 month ago

I've been playing with it today. The Python library can be imported and can send a matrix. Though, the library as is will use max brightness if sending a full array. I used some of the library code to send the matrix to the device one column at a time to support brighness.

You can see my fairly simple code here: https://github.com/TomFaulkner/fw-led