mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +01:00
Using SPI pin definitions in pins_arduino.h for ArduinoISP sketch (now works on Mega).
This commit is contained in:
parent
e2fe4d0dfa
commit
17beb9fcfb
@ -24,10 +24,8 @@
|
|||||||
// - The SPI functions herein were developed for the AVR910_ARD programmer
|
// - The SPI functions herein were developed for the AVR910_ARD programmer
|
||||||
// - More information at http://code.google.com/p/mega-isp
|
// - More information at http://code.google.com/p/mega-isp
|
||||||
|
|
||||||
#define SCK 13
|
#include "pins_arduino.h" // defines SS,MOSI,MISO,SCK
|
||||||
#define MISO 12
|
#define RESET SS
|
||||||
#define MOSI 11
|
|
||||||
#define RESET 10
|
|
||||||
|
|
||||||
#define LED_HB 9
|
#define LED_HB 9
|
||||||
#define LED_ERR 8
|
#define LED_ERR 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user