diff --git a/cores/epoxy/Arduino.cpp b/cores/epoxy/Arduino.cpp index ce537fe..5cfad17 100644 --- a/cores/epoxy/Arduino.cpp +++ b/cores/epoxy/Arduino.cpp @@ -65,6 +65,10 @@ unsigned long micros() { return us; } +void tone(uint8_t /*_pin*/, unsigned int /*frequency*/, unsigned long /*duration*/) {} + +void noTone(uint8_t /*_pin*/) {} + void delay(unsigned long ms) { usleep(ms * 1000); } diff --git a/cores/epoxy/Arduino.h b/cores/epoxy/Arduino.h index cdc18db..6204941 100644 --- a/cores/epoxy/Arduino.h +++ b/cores/epoxy/Arduino.h @@ -278,6 +278,9 @@ void enableTerminalEcho(); } +void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); +void noTone(uint8_t _pin); + // WMath prototypes long random(long); long random(long, long);