jled
jled copied to clipboard
Non-blocking LED controlling library for Arduino and friends.
This is an example for using a PWM extender board. My c++ is pretty amateurish, so there are probably some things to change. One issue is that the PCA board...
Is there a way or an example of turning off the candle effect after its done the sequence. I have 5 leds and i can get the candle effect working...
Hi! I wanted to write my own function that would just fade led *linearly* (btw this should be added to this lib). So I wrote: ```cpp class LinearFadeOff : public...
Hi and thanks for your awesome library! The only feature im missing is something like a FadeTo(duration) method, which works like FadeOn/FadeOff, but without switching the LED on or off....
Is it possible to change the base frequency of the PWM? For a specific application I need to use a PWM with a base frequency of about 11800 Hz. I'm...
Hey there, I've created a JLed, I.e. using ``` auto my_led = JLed(GPIO_LED).LowActive().Off(); ``` How do I pass that to a function ``` void fooFunction($WHAT_GOES_HERE$ led) { ... } ```...
#82 inspired this MR: Added a new `UpdateAndFinally` method that will update the effect like `Update` but will trigger the provided callback when the effect is finished. This allows e.g....
Is it possible to implement multiple HALs ont he same board/project? For example, I have ESP32 board with PCA9635 I2C driver and I want to use them both using JLed...
I am not finding any references to minimum brightness for the breathing effect. Currently LED's turn off then fades on again. I would like to set a minimum brightness. Is...
Hey Jan, I'm using the following function: led[i] = JLedPCA9685(i).Breathe(random(minFadeIn, maxFadeIn), random(minOn, maxOn), random(minFadeOut, maxFadeOut)).DelayBefore(random(minOff, maxOff)); It all works fine for lower values of minOff and maxOff, (10-30 sec), but...