Skip to content

Commit 56e0910

Browse files
Peter Van HoyweghenPeter Van Hoyweghen
Peter Van Hoyweghen
authored and
Peter Van Hoyweghen
committed
The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in.
1 parent 93b31b6 commit 56e0910

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/shared/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ void start_pmode() {
251251
digitalWrite(SCK, LOW);
252252
delay(20);
253253
digitalWrite(RESET, LOW);
254+
delay(50);
254255
spi_transaction(0xAC, 0x53, 0x00, 0x00);
255256
pmode = 1;
256257
}

0 commit comments

Comments
 (0)