Add from original Arduino.h (#26)

This commit is contained in:
volca 2016-10-27 20:43:27 +08:00 committed by Me No Dev
parent 6465d4fa8e
commit 261bc5ae85

View File

@ -145,6 +145,12 @@ typedef unsigned int word;
#define _min(a,b) ((a)<(b)?(a):(b)) #define _min(a,b) ((a)<(b)?(a):(b))
#define _max(a,b) ((a)>(b)?(a):(b)) #define _max(a,b) ((a)>(b)?(a):(b))
// WMath prototypes
long random(long);
long random(long, long);
void randomSeed(unsigned long);
long map(long, long, long, long, long);
#include "pins_arduino.h" #include "pins_arduino.h"
#endif /* _ESP32_CORE_ARDUINO_H_ */ #endif /* _ESP32_CORE_ARDUINO_H_ */