Update RevPiLED with python

Topics about the Software of Revolution Pi
Post Reply
Florian B.
Posts: 2
Joined: 20 Oct 2023, 10:51
Answers: 0

Update RevPiLED with python

Post 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
User avatar
nicolaiB
KUNBUS
Posts: 877
Joined: 21 Jun 2018, 10:33
Answers: 8
Location: Berlin
Contact:

Re: Update RevPiLED with python

Post 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
Florian B.
Posts: 2
Joined: 20 Oct 2023, 10:51
Answers: 0

Re: Update RevPiLED with python

Post by Florian B. »

Thank you very!
Post Reply