Page 1 of 1

Python API to set LED status Available???

Posted: Fri Sep 04, 2015 9:06 am
by Cyientist
Is there a direct python API to set the LED ring expansion settings in our own python program ? Or is there a way to set like self._cf.SetLedStatus() or something similar

Re: Python API to set LED status Available???

Posted: Thu Sep 17, 2015 8:24 am
by marcus
Yes, you can use the parameters for setting the "headlight" and the LED-ring effect. You can also set custom patterns using the LED-ring memory.

Have a look at this example for setting parameters and this for setting the LED-ring memory via ZMQ.

The parameters you are interested in are ring.headlighEnable and ring.effect