Test arduino code

Dependents:   DR14_4D7S_US

Fork of ArduinoHAL by René Bohne

Committer:
rbohne
Date:
Sat Jun 04 19:49:54 2011 +0000
Revision:
1:c9f5b6330d8d
Parent:
0:a4ee09d0d765
Child:
2:7e1ff33bc76a
added empty WPorgram.h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rbohne 1:c9f5b6330d8d 1 #ifndef Arduino_h
rbohne 1:c9f5b6330d8d 2 #define Arduino_h
rbohne 1:c9f5b6330d8d 3
rbohne 0:a4ee09d0d765 4 #include "mbed.h"
rbohne 0:a4ee09d0d765 5
rbohne 0:a4ee09d0d765 6 #define HIGH 0x1
rbohne 0:a4ee09d0d765 7 #define LOW 0x0
rbohne 0:a4ee09d0d765 8
rbohne 0:a4ee09d0d765 9 #define INPUT 0x0
rbohne 0:a4ee09d0d765 10 #define OUTPUT 0x1
rbohne 0:a4ee09d0d765 11
rbohne 0:a4ee09d0d765 12 //#define true 0x1
rbohne 0:a4ee09d0d765 13 //#define false 0x0
rbohne 0:a4ee09d0d765 14
rbohne 0:a4ee09d0d765 15
rbohne 0:a4ee09d0d765 16 void pinMode(int, int);
rbohne 0:a4ee09d0d765 17 void digitalWrite(int, int);
rbohne 1:c9f5b6330d8d 18 int digitalRead(int);
rbohne 1:c9f5b6330d8d 19
rbohne 1:c9f5b6330d8d 20 #endif
rbohne 1:c9f5b6330d8d 21