Skip to content

Instantly share code, notes, and snippets.

View domantascibas's full-sized avatar

Domantas Cibas domantascibas

View GitHub Profile
@domantascibas
domantascibas / Arduino Music Lights v1
Last active December 14, 2015 11:19
The code to synchronize an LED bar to music using an Arduino.
//Arduino Music Lights v1
//by paplaukias
//
//uses the FFT library which can be found on http://arduino.cc/forum/index.php/topic,38153.0.html
//
//[email protected]
//http://www.paplaukias.co.uk
#include <fix_fft.h>
//set AnalogPin for audio input
@domantascibas
domantascibas / Arduino Music Lights v2
Created March 3, 2013 23:51
The code to synchronize an LED bar to music using an Arduino.
//Arduino Music Lights v1
//by paplaukias
//
//uses the FFT library which can be found on http://arduino.cc/forum/index.php/topic,38153.0.html
//
//[email protected]
//http://www.paplaukias.co.uk
#include <fix_fft.h>
//set AnalogPin for audio input
@domantascibas
domantascibas / Halloween Mask improved
Created December 2, 2013 06:19
Arduino code for my Halloween mask. It controls some RGB LEDs and red diffused LEDs. A button is used to change the "modes" of the mask.
// Mood Lamp
float RGB1[3];
float RGB2[3];
float INC[3];
int red, green, blue;
const int redPin = 11; //eyes red
const int greenPin = 10; //eyes green
@domantascibas
domantascibas / Halloween Mask
Created December 2, 2013 06:30
Arduino code for my Halloween mask. It controls some RGB LEDs and some red diffused LEDs.
// Mood Lamp
float RGB1[3];
float RGB2[3];
float INC[3];
int red, green, blue;
const int redPin = 11; //eyes red
const int greenPin = 10; //eyes green