Boo0ns / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

ArduinoISP to use pins_arduino.h #318

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

ArduinoISP could use the new constants in pins_arduino.h.

#include "pins_arduino.h"  // defines SS,MOSI,MISO,SCK
#define RESET SS

Why?

Compatibility with Arduino Mega and 3rd party boards which define these pins.

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

Fully compatible!

Original issue reported on code.google.com by paul.sto...@gmail.com on 5 Aug 2010 at 9:33

GoogleCodeExporter commented 9 years ago
In patch form...

Original comment by paul.sto...@gmail.com on 5 Aug 2010 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
Applied: r1038.  It works on the Mega now.  Thanks!

Original comment by dmel...@gmail.com on 6 Aug 2010 at 1:56