mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-30 11:24:12 +01:00
362b952a68
Removing Print class inheritance from Firmata since it's not clear that it can be implemented in a way that's compatible with the Firmata protocol and the Print class interface.
24 lines
430 B
C
Executable File
24 lines
430 B
C
Executable File
#ifndef WProgram_h
|
|
#define WProgram_h
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <math.h>
|
|
|
|
#include <avr/interrupt.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
|
|
|
|
#endif |