aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.h
diff options
context:
space:
mode:
authorTom Igoe <tom.igoe@gmail.com>2010-11-29 11:31:00 -0500
committerTom Igoe <tom.igoe@gmail.com>2010-11-29 11:31:00 -0500
commit15f51fc1f804a86928448f5a54a2850a291cfc73 (patch)
tree33beb77b848f7294592eb01af70651cf617772fb /cores/arduino/wiring.h
parenteb9c51d43c451b3e48725d04af519d8a6c36107b (diff)
added toInt() function to WString
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))