This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Adafruit_NeoPixel.h" | |
const int analogInPin = 9; // pressure sensor input | |
Adafruit_NeoPixel strip = Adafruit_NeoPixel(6, 6, NEO_GRB + NEO_KHZ800); //right shoe | |
Adafruit_NeoPixel strip2 = Adafruit_NeoPixel(6, 10, NEO_GRB + NEO_KHZ800); //left shoe | |
int sensorValue = 0; // value read from the pressure sensor | |
void setup() { | |
// initialize serial communications at 9600 bps: | |
Serial.begin(9600); |