8000 Simply use pin 10 to reset the target. It works for all Arduino's and… · arduino/Arduino@93b31b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93b31b6

Browse files
Peter Van HoyweghenPeter Van Hoyweghen
Peter Van Hoyweghen
authored and
Peter Van Hoyweghen
committed
Simply use pin 10 to reset the target. It works for all Arduino's and allows the same "ArduinoISP shield" to be used on all of them. Such a shield has an ISP connector that: - wires MISO,MOSI, SCK, GND and 5V to the ISP connector of the programming Arduino - wires RESET to pin 10 of the programming Arduino.
1 parent ad2a32f commit 93b31b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// using the following arduino pins:
88
//
99
// pin name: not-mega: mega(1280 and 2560)
10-
// slave reset: 10: 53
10+
// slave reset: 10: 10
1111
// MOSI: 11: 51
1212
// MISO: 12: 50
1313
// SCK: 13: 52
@@ -45,7 +45,8 @@
4545

4646
#include "SPI.h"
4747
#include "pins_arduino.h"
48-
#define RESET SS
48+
// Use pin 10 to reset the target
49+
#define RESET 10
4950

5051
#define LED_HB 9
5152
#define LED_ERR 8

0 commit comments

Comments
 (0)
0