aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2009-05-24 15:12:19 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2009-05-24 15:12:19 +0000
commit31e765f1cb050fd033897f0d40d35d2cf36c7e72 (patch)
tree9fcd64fa7636edd07a3f1713d5a314f8d93db73a /cores/arduino
parent0b123d5ee4441383bffa89f80fa8b92aa770ac44 (diff)
Adding ARDUINO version constant.
Diffstat (limited to 'cores/arduino')
-rwxr-xr-xcores/arduino/wiring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h
index 21d62c7..619e695 100755
--- a/cores/arduino/wiring.h
+++ b/cores/arduino/wiring.h
@@ -32,6 +32,10 @@
extern "C"{
#endif
+#ifndef ARDUINO
+#define ARDUINO 16
+#endif
+
#define HIGH 0x1
#define LOW 0x0