Skip to contentSkip to conversation

Make PCA9532 LEDs blink?

DISCUSSION Ian Pilcher 1 participant 2 messages Sep 1, 2013 – Sep 2, 2013 LED

lore
Share & tools
lore
#0 lore raw

How can I make PCA9532-controlled LEDs blink (without continually turning them on and off in my application)?

I know that the hardware is capable, and I can see that the driver has a blink_set function, but I can't figure out how to access it from userspace. (This may be more of a general API question than PCA9532- specific.)

Thanks!

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================
#1 lore raw
Quoted 7 lines · Ian Pilcher

How can I make PCA9532-controlled LEDs blink (without continually turning them on and off in my application)?

I know that the hardware is capable, and I can see that the driver has a blink_set function, but I can't figure out how to access it from userspace. (This may be more of a general API question than PCA9532- specific.)

And the answer is the timer trigger ... as mentioned in leds-class.txt.

Sorry for the noise. :-|

Signature · 4 lines
========================================================================
Ian Pilcher                                         [email protected]
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================