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

Dependents:   mbed_shiftreg mbed_shiftreg mbed_shiftreg_4 mbed_shiftreg_3

Fork of Arduino by Chris Dick

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