Florian B.
Topic Author
Posts: 2
Joined: 20 Oct 2023, 10:51
Answers: 0

Update RevPiLED with python

20 Oct 2023, 10:55

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: 856
Joined: 21 Jun 2018, 10:33
Answers: 7
Location: Berlin
Contact:

Re: Update RevPiLED with python

20 Oct 2023, 15:47

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

Re: Update RevPiLED with python

23 Oct 2023, 06:46

Thank you very!

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest