Library to allow the use of Arduino specific language with the mbed

Dependents:   Gameduino Factory_monitor_0v1 mbed_mindflex NEW_NFC_TEST

This is a library for allowing the use of programs written for the Arduino with the mbed. This was started for use with the Gameduino shield Library. It is currently uncomplete and not fully tested, but I don't see myself spending time on it. See TODOs and check http://arduino.cc/en/Reference/HomePage for missing parts

Revision:
1:b22cf6a5957d
Parent:
0:8d785e80d3ba
--- a/arduino.c	Sun Oct 21 14:26:18 2012 +0000
+++ b/arduino.c	Sun Oct 21 14:47:26 2012 +0000
@@ -115,16 +115,6 @@
     return arduino_timer.read_us();
 }
 
-/** Macro for delay() 
- *
- * @param void
- */
-#define delay(x)                  (wait_ms(x))
-/** Macro for delayMicroseconds()  
- *
- * @param void
- */
-#define delayMicroseconds(x)      (wait_us(x))
 
 /*****************************************************
   Maths
@@ -139,21 +129,6 @@
     
 *****************************************************/
 
-/** Macro for min() 
- *
- * @param any
- */
-#define min(a,b)                  ((a)<(b)?(a):(b))
-/** Macro for max()
- *
- * @param any
- */
-#define max(a,b)                  ((a)>(b)?(a):(b))
-/** Macro for abs()
- *
- * @param any
- */
-#define abs(x)                    ((x)>0?(x):(x*-1))
 
 /*****************************************************
   Trigonometry
@@ -172,11 +147,6 @@
     
 *****************************************************/
 
-/** Macro for randomSeed()
- *
- * @param int
- */
-#define randomSeed(x)             srand(x)
 /** generates a random number from 0 to defined number
  *
  * @param number maximum value for random number