aboutsummaryrefslogtreecommitdiff
path: root/variants/leonardo
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-09-08 15:52:05 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-09-08 15:52:05 -0400
commit63ec4aba2221ce5f9d57cfa305e2ad3f253de732 (patch)
tree0495cfc09adcae052794d9cf67747330722a5d1a /variants/leonardo
parentd2749dc2258148086f2e91e3f92f9a9ed3eaa5a2 (diff)
added compile-time definition of sketch PID. PID is pulled from variants/leonardo or the new variants/micro as appropriate.
Diffstat (limited to 'variants/leonardo')
-rw-r--r--variants/leonardo/pins_arduino.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h
index 79826f0..6fc3ea9 100644
--- a/variants/leonardo/pins_arduino.h
+++ b/variants/leonardo/pins_arduino.h
@@ -27,6 +27,8 @@
#include <avr/pgmspace.h>
+#define ARDUINO_MODEL_USB_PID 0x0034
+
// Map SPI port to 'new' pins D14..D17
// D14 PB0 RXLED,SS/PCINT0
// D15 PB1 SCK,PCINT1