Pressure Sensor Backpack Part 2

Code:     int reading=0; void setup(void) {    Serial.begin(9600);  pinMode(3, OUTPUT);  pinMode(4, OUTPUT);  pinMode(5, OUTPUT);  pinMode(6, OUTPUT);  pinMode(7, OUTPUT);  pinMode(8, OUTPUT);  pinMode(9, OUTPUT);  pinMode(10, OUTPUT);} void loop(void) {    reading = analogRead(1);  Serial.println(reading); if(reading < 900){  alloff(); }  else if(reading < 920){  alloff();  digitalWrite(3, HIGH);  } else if(reading < 930){  alloff();  digitalWrite(3, HIGH);    digitalWrite(4, HIGH);  } else if(reading…

Wearable Arduino Tone Generator by Brian VonKaenel [Arduino CDEFG Note Coding] int piezoPin = 10 ; /* declare the pin which the piezo speaker is attached to */ int keyOne = 2; /* declare the first soft button */ int keyTwo = 3; /* declare the second soft button */ int keyThree = 4; /* declare…

Nils Volker

Theo Jansen.pdf by ojuarez93