From b3d0dd5a5a20ed48ff4fa49c7d0a696668b3a6a2 Mon Sep 17 00:00:00 2001 From: Arturo Guadalupi Date: Mon, 2 Aug 2021 10:43:30 +0200 Subject: [PATCH] Fixes #33 As described in the issue, this prevent strange behaviour --- examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino index 3f84d6b..1c302a1 100644 --- a/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino +++ b/examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino @@ -439,6 +439,7 @@ void start_pmode() { void end_pmode() { SPI.end(); // We're about to take the target out of reset so configure SPI pins as input + pinMode(PIN_MISO, INPUT); pinMode(PIN_MOSI, INPUT); pinMode(PIN_SCK, INPUT); reset_target(false);