Skip to content

Instantly share code, notes, and snippets.

@Caroline13
Caroline13 / Pocket_Breathalyzer
Created February 3, 2017 14:07
Code for Pocket Breathalyzer
// (include neopixel library)
#include <Adafruit_NeoPixel.h>
int AnalogPin0 = A0; //gsr pin to A0
int Value; // Data collected into alcohol sensor
int Mapped; // Mapped Value variable
int minValue = 1023; // Insert minValue from calibration session
int maxValue = 0; // tInsert maxValue from calibration session