Skip to content

Instantly share code, notes, and snippets.

@punietis
punietis / Fingerprint Scanner Code–Final Project (Pauline Unietis)
Created December 18, 2013 02:01
Using Sparkfun's Fingerprint Scanner - 5V TTL (GT-511C1), a servo motor, and some LEDs, a code that allows you to move the servo based on the validity of the fingerprint.
// Sweep code by BARRAGAN http://barraganstudio.com/
// Blink code from Arduino examples
// PWM Servo library from http://arduiniana.org/libraries/pwmservo/
// Fingerprint Scanner library, partial fingerprint identity test, along with hardware help from:
// http://wordpress.hawleyhosting.com/ramblings/?p=375
// Code help from Ms. Natalie Freed
#include "FPS_GT511C3.h"
#include "SoftwareSerial.h"
#include <PWMServo.h>
@punietis
punietis / gist:d18114868ae2b355f8c3
Created May 27, 2014 18:36
Audio/Music Visualizer
//State Machine code by Natalie Freed from https://gist.github.com/nataliefreed/bee92f0b92ff888916cc
//http://www.pfesto.com/how-to-make-an-audio-visualizer-with-processing/
import ddf.minim.*;
import ddf.minim.analysis.*;
Minim minim;
AudioPlayer song;
AudioMetaData meta;
FFT fft;
String currentState = "OFF";
boolean keyLeft = false;