pimoroni / fanshim-python

Python library for the Fan SHIM for Raspberry Pi
https://shop.pimoroni.com/products/fan-shim
MIT License
295 stars 86 forks source link

Led Color | A certain RGB Color | Feature request #93

Closed CarpeDiemRo closed 2 years ago

CarpeDiemRo commented 3 years ago

Can you please help me in order to change install-service.sh in order to change the led behavior. More precisely I want that the led to be constantly like this

        r, g, b = (193, 1, 199)
        fanshim.set_light(r, g, b, brightness=0.15)

and to disable the green -> red transition

Gadgetoid commented 2 years ago

Sorry I'm late to the party here, but if you still need to know- just change any line in automatic.py

eg: https://github.com/pimoroni/fanshim-python/blob/master/examples/automatic.py#L57-L58

To set your hard-coded value.