#ifndef WProgram_h #define WProgram_h #include #include #include #include #include "wiring.h" #ifdef __cplusplus #include "HardwareSerial.h" uint16_t makeWord(uint16_t w) { return w; } uint16_t makeWord(byte h, byte l) { return (h << 8) | l; } #define word(...) makeWord(__VA_ARGS__) 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 #endif