Page 1 of 1

Update RevPiLED with python

Posted: 20 Oct 2023, 10:55
by Florian B.
Hello,

is there already a python package where you can configure the status LEDs? I know i could just issue the shell command directly via python but i was wondering if someone already made separate python package with a proper abstraction?

Best regards,

Florian

Re: Update RevPiLED with python

Posted: 20 Oct 2023, 15:47
by nicolaiB
Hi Florian

Sound like the typical use case for the library revpimodio2, which is already part of the default installation. You will find examples and documentation here: https://revpimodio.org/en/doc2/

An example which makes use of the LEDs can be found here: https://revpimodio.org/en/cyclic-with-python/#more-2347

Nicolai

Re: Update RevPiLED with python

Posted: 23 Oct 2023, 06:46
by Florian B.
Thank you very!