aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WProgram.h
blob: 1fba738cf27f9d099793147ba62bc25c1a9346a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>
#include <string.h>
#include <math.h>

#include <avr/interrupt.h>
#include <avr/signal.h>

#include "wiring.h"

#ifdef __cplusplus
#include "HardwareSerial.h"

unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);

// WMath prototypes
long random(long);
long random(long, long);
void randomSeed(unsigned int);
long map(long, long, long, long, long);
#endif