2006-04-14 13:53:56 +02:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2007-09-23 18:06:28 +02:00
|
|
|
#include <math.h>
|
2006-04-14 13:53:56 +02:00
|
|
|
|
|
|
|
#include <avr/interrupt.h>
|
|
|
|
#include <avr/signal.h>
|
2005-09-25 16:11:32 +02:00
|
|
|
|
|
|
|
#include "wiring.h"
|
2006-08-13 11:59:06 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2006-03-23 15:16:00 +01:00
|
|
|
#include "HardwareSerial.h"
|
2005-09-25 16:11:32 +02:00
|
|
|
|
2008-03-08 22:30:00 +01:00
|
|
|
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
|
|
|
|
|
2007-11-21 18:08:07 +01:00
|
|
|
// WMath prototypes
|
2006-08-13 11:59:06 +02:00
|
|
|
long random(long);
|
|
|
|
long random(long, long);
|
|
|
|
void randomSeed(unsigned int);
|
2007-11-21 18:08:07 +01:00
|
|
|
long map(long, long, long, long, long);
|
2007-04-21 01:17:38 +02:00
|
|
|
#endif
|