Using SPI pin definitions in pins_arduino.h for ArduinoISP sketch (now works on Mega).

This commit is contained in:
David A. Mellis 2010-08-06 01:56:09 +00:00
parent e2fe4d0dfa
commit 17beb9fcfb
1 changed files with 2 additions and 4 deletions

View File

@ -24,10 +24,8 @@
// - The SPI functions herein were developed for the AVR910_ARD programmer
// - More information at http://code.google.com/p/mega-isp
#define SCK 13
#define MISO 12
#define MOSI 11
#define RESET 10
#include "pins_arduino.h" // defines SS,MOSI,MISO,SCK
#define RESET SS
#define LED_HB 9
#define LED_ERR 8