ArduCor
ArduCor is an arduino library that generates a set of lighting routines for arduino-based lighting arrays. It is compatible with Neopixels, Rainbowduinos, and standard RGB LEDs.
Install / Use
/learn @timsee/ArduCorREADME
ArduCor: RGB LED Routines for Arduino
ArduCor is an arduino library that generates a set of lighting routines for arduino-based lighting arrays. It works for all arduinos except the ATtiny series and is compatible with Neopixels, Rainbowduinos, and standard RGB LEDs.
There are two types of samples for this project. The Simple Samples show how to use the ArduCor library with as few lines of code as possible. The Corluma Samples work with Corluma, an open source application that controls RGB LEDs from a computer or a mobile device.
<a name="toc"></a>Table of Contents
- Installation
- Library Usage
- Arduino Library API (html) (pdf)
- Samples
- Contributing
- License
- Version Notes
<a name="installation"></a>Installation
- Download the git repository
- Copy the
ArduCordirectory into your Arduino Libraries directory. - Choose the proper sample for your hardware setup from the samples folder.
- Build and upload to your board.
If there are compilation issues, make sure you have the library for your hardware setup installed. For a Rainbowduino, you can find the library here. For a NeoPixel, you can find the library here.
<a name="library-usage"></a>Library Usage
<a name="single-routines"></a>Single Color Routines
These routines use a single color:
- Single Solid
- Single Blink
- Single Wave
- Single Glimmer
- Single Fade
- in and out, linear or sine
- Single Sawtooth Fade
- in or out
<a name="multi-routines"></a>Multi Colors Routines
These routines use groups of colors saved in an array to execute the routine. This can be a custom group of colors or it can come from a preset palette of colors. All routines have a parameter used to determine the color group for the routine. A description of the different palettes is here.
- Multi Glimmer
- Multi Random Individual
- Multi Random Solid
- Multi Fade
- Multi Bars
<a name="contributing"></a>Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request.
<a name="license"></a>License
MIT License, provided here.
