Fix wrong whitespace
This commit is contained in:
parent
0121ec7e84
commit
bc7b508237
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ void loop() {
|
||||||
}
|
}
|
||||||
myTransfer.sendData(myTransfer.bytesRead);
|
myTransfer.sendData(myTransfer.bytesRead);
|
||||||
|
|
||||||
int x = int(myTransfer.packet.rxBuff);
|
int x = int(myTransfer.packet.rxBuff);
|
||||||
if((x % 2) > 0) { digitalWrite(pin1, HIGH); } else { digitalWrite(pin1, LOW); }
|
if((x % 2) > 0) { digitalWrite(pin1, HIGH); } else { digitalWrite(pin1, LOW); }
|
||||||
if((x % 4) > 1) { digitalWrite(pin2, HIGH); } else { digitalWrite(pin2, 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 % 8) > 3) { digitalWrite(pin3, HIGH); } else { digitalWrite(pin3, LOW); }
|
||||||
if((x % 16) > 7) { digitalWrite(pin4, HIGH); } else { digitalWrite(pin4, LOW); }
|
if((x % 16) > 7) { digitalWrite(pin4, HIGH); } else { digitalWrite(pin4, LOW); }
|
||||||
|
|
Loading…
Reference in a new issue