Permalink
Browse files

wait for serial

  • Loading branch information...
timthelion committed Jun 19, 2013
1 parent a27fef3 commit d739567ac49fd5d8d193047c873e0ecf3226910e
Showing with 1 addition and 1 deletion.
  1. +1 −1 brmdoor/brmdoor.ino
View
@@ -115,7 +115,7 @@ void readCard()
// wait for the result, while reblinking
delay(100);
digitalWrite(statusLed, statusState);
- delay(150);
+ while(!rfidSerial.available());
// read input from serial into the buffer
i = 0;

0 comments on commit d739567

Please sign in to comment.