Navigation
History
Description
Arduino Light Animation (ALA) is a library for Arduino boards to simplify the development of light animations using a wide variety of LEDs and LED strips.
Download, install and import
Download here: http://yaab-arduino.blogspot.com/p/ala.html
Example
#include <AlaLed.h>
AlaLed alaLed;
void setup()
{
// initialize the led attached to pin 13
alaLed.initPWM(13);
// set a fading animation with a duration of 2 seconds
alaLed.setAnimation(ALA_FADEIN, 2000);
}
void loop()
{
// animate the led
alaLed.runAnimation();
}