Skip to content

Commit

Permalink
changed led state to low when done writing
Browse files Browse the repository at this point in the history
  • Loading branch information
StormOtx committed Feb 23, 2016
1 parent 7fa41d5 commit dc5eb0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Margoulineur2000.ino
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void nfc_read_write(byte dormitory, bool mode)
dormitory == 3 ? Serial.println(nfc_handler.newBalance, DEC) : Serial.println(40, DEC);
}
Serial.println("\n\nDONE ! waiting 4 the button");
digitalWrite(readLedPin, LOW);
!mode ? digitalWrite(readLedPin, LOW) : digitalWrite(writeLedPin, LOW);
wait4button();
lcd.clear();
Serial.print("end read = ");Serial.println(oldPosition);
Expand Down
2 changes: 1 addition & 1 deletion margoulinade.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# define MENUELEMENTS 4 // Number of elements in the menu

# define ENCODERSTEPS 2 //Steps for the rotary encoder, menu selection
# define ENCODERSTEPS 4 //Steps for the rotary encoder, menu selection
# define VALMIN 0 // Min value of the new balance in the write sequence
# define VALMAX 40 // Max value of the new balance in the write sequence

Expand Down

0 comments on commit dc5eb0d

Please sign in to comment.