#include int fsrAPin = A1; // FSR is connected to analog int FSR; // the Analog reading from the FSR resistor divider //char Bluetooth_button = 0; void setup(void) { Serial.begin(9600); // We'll send debugging information via the Serial monitor } void loop(void) { int FSR = analogRead(fsrAPin); //Serial.println(FSR); //Serial.print("\n"); if (FSR >200){ Serial.println("d"); delay(400); } else{ Serial.println("n"); delay(400); } }