FadeLed
A simple Arduino library to fade leds on hardware PWM
|
A simple Arduino library to fade leds on the hardware PWM. More...
#include "Arduino.h"
Go to the source code of this file.
Classes | |
class | FadeLed |
Main class of the FadeLed-library. More... | |
Macros | |
#define | FADE_LED_MAX_LED 6 |
Maximum number of FadeLed objects. More... | |
#define | FADE_LED_RESOLUTION 255 |
The maximum brightness step of the PWM. More... | |
A simple Arduino library to fade leds on the hardware PWM.
This library takes all the heavy lifting of fading a led.
#define FADE_LED_MAX_LED 6 |
Maximum number of FadeLed objects.
Default = 6, the number of hardware PWM pins on a Uno/Pro Mini/Nano
#define FADE_LED_RESOLUTION 255 |
The maximum brightness step of the PWM.
Can be made less for less then 8-bit PWM