Fix wrong whitespace

This commit is contained in:
askiiart 2022-10-23 12:55:28 -05:00
parent 0121ec7e84
commit bc7b508237

View file

@ -54,8 +54,8 @@ void loop() {
}
myTransfer.sendData(myTransfer.bytesRead);
int x = int(myTransfer.packet.rxBuff);
if((x % 2) > 0) { digitalWrite(pin1, HIGH); } else { digitalWrite(pin1, LOW); }
int x = int(myTransfer.packet.rxBuff);
if((x % 2) > 0) { digitalWrite(pin1, HIGH); } else { digitalWrite(pin1, LOW); }
if((x % 4) > 1) { digitalWrite(pin2, HIGH); } else { digitalWrite(pin2, LOW); }
if((x % 8) > 3) { digitalWrite(pin3, HIGH); } else { digitalWrite(pin3, LOW); }
if((x % 16) > 7) { digitalWrite(pin4, HIGH); } else { digitalWrite(pin4, LOW); }