This will become a hardware abstraction layer for my mbed projects. It will make it easier to port sketches from Arduino to mbed
Arduino.h
- Committer:
- rbohne
- Date:
- 2011-06-04
- Revision:
- 1:c9f5b6330d8d
- Parent:
- 0:a4ee09d0d765
- Child:
- 2:7e1ff33bc76a
File content as of revision 1:c9f5b6330d8d:
#ifndef Arduino_h #define Arduino_h #include "mbed.h" #define HIGH 0x1 #define LOW 0x0 #define INPUT 0x0 #define OUTPUT 0x1 //#define true 0x1 //#define false 0x0 void pinMode(int, int); void digitalWrite(int, int); int digitalRead(int); #endif