Update comments in examples (#457)

It's seems not that important, but this helps the new user understand the code.
This commit is contained in:
Jastria Rahmat
2019-03-25 21:07:44 +07:00
committed by Rotzbua
parent d6979db651
commit 268682dc0b
9 changed files with 11 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ bool try_key(MFRC522::MIFARE_Key *key)
* Main loop.
*/
void loop() {
// Look for new cards
// Reset the loop if no new card present on the sensor/reader. This saves the entire process when idle.
if ( ! mfrc522.PICC_IsNewCardPresent())
return;