fabianmoronzirfas
2/3/2015 - 10:46 AM

README.MD

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);
}