From bcc5488cbcddc8c3d7125fb59ac7edc054673ebc Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Fri, 18 Jul 2014 07:01:26 -0700 Subject: Add availableForWrite() to HardwareSerial --- cores/arduino/HardwareSerial.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cores/arduino/HardwareSerial.h') diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index b96e5d0..935934b 100644 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -112,6 +112,7 @@ class HardwareSerial : public Stream virtual int available(void); virtual int peek(void); virtual int read(void); + int availableForWrite(void); virtual void flush(void); virtual size_t write(uint8_t); inline size_t write(unsigned long n) { return write((uint8_t)n); } -- cgit v1.2.3-18-g5258