From 0292fe91fc2de0e5c5b374a6d0e0c3879fe49387 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Wed, 21 Nov 2007 17:08:07 +0000 Subject: Adding map(), fixing radians() and degrees(), adding cast functions (int(x) instead of (int) x), adding interrupts() and noInterrupts(), etc. --- cores/arduino/WProgram.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cores/arduino/WProgram.h') diff --git a/cores/arduino/WProgram.h b/cores/arduino/WProgram.h index d6d5ccc..206cdac 100755 --- a/cores/arduino/WProgram.h +++ b/cores/arduino/WProgram.h @@ -10,8 +10,9 @@ #ifdef __cplusplus #include "HardwareSerial.h" -// random prototypes +// WMath prototypes long random(long); long random(long, long); void randomSeed(unsigned int); +long map(long, long, long, long, long); #endif -- cgit v1.2.3-18-g5258