aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-11-29 15:20:30 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2010-11-29 15:20:30 -0500
commit4a90c4bd405acc874239d82511a35c377b494dff (patch)
tree33beb77b848f7294592eb01af70651cf617772fb /cores/arduino/wiring.h
parent80c5173bfd304e91e688ade4dd650efb7d35c2ee (diff)
Redoing 448222e4b65e0cf44dfc0c494f7f76901f1fabea without all the extra files.
Adds toInt() to String, WCharacter.h (from Wiring), and an SD Datalogger example.
Diffstat (limited to 'cores/arduino/wiring.h')
-rwxr-xr-xcores/arduino/wiring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h
index 027a8d1..e29959b 100755
--- a/cores/arduino/wiring.h
+++ b/cores/arduino/wiring.h
@@ -96,6 +96,7 @@ extern "C"{
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
#define bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit))
+
typedef unsigned int word;
#define bit(b) (1UL << (b))