void setup() {
// put your setup code here, to run once:
pinMode(7, INPUT_PULLUP);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int thing = digitalRead(7);
if(thing != HIGH){
Serial.println("Connecting to BlueTooth");
delay(5000);
Serial.println("BlueTooth not Connected");
}
}