Also aus:
if ((sensorValueOne >= -50) && (sensorValueOne <= 50)){
digitalWrite(flip,HIGH);
Serial.println("flip");
}
else {
digitalWrite(flop,LOW);
Serial.println("flop");
}
Mach:
if ((sensorValueOne >= -50) && (sensorValueOne <= 50)){
digitalWrite(flop,LOW);
digitalWrite(flip,HIGH);
Serial.println("flip");
digitalWrite(flip,LOW);
}
else {
digitalWrite(flip,LOW);
digitalWrite(flop,HIGH);
Serial.println("flop");
digitalWrite(flop,LOW);
}