Skip to content

Commit 7e4cdea

Browse files
Peter Van Hoyweghen
authored andcommitted
The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in.
1 parent a499c1b commit 7e4cdea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/shared/examples/ArduinoISP/ArduinoISP.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ void start_pmode() {
247247
digitalWrite(SCK, LOW);
248248
delay(20);
249249
digitalWrite(RESET, LOW);
250+
delay(50);
250251
spi_transaction(0xAC, 0x53, 0x00, 0x00);
251252
pmode = 1;
252253
}

0 commit comments

Comments
 (0)