mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-03-07 00:26:56 +01:00
Update init reset
This commit is contained in:
@@ -229,10 +229,11 @@ void Adafruit_PN532::begin()
|
||||
} else {
|
||||
// Reset the PN532
|
||||
digitalWrite(_reset, HIGH);
|
||||
delay(400);
|
||||
digitalWrite(_reset, LOW);
|
||||
delay(400);
|
||||
digitalWrite(_reset, HIGH);
|
||||
delay(10); // Small delay required before taking other actions after reset.
|
||||
delay(400); // Small delay required before taking other actions after reset.
|
||||
// See timing diagram on page 209 of the datasheet, section 12.23.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user