diff options
Diffstat (limited to 'cores')
-rwxr-xr-x | cores/arduino/HardwareSerial.cpp | 6 | ||||
-rwxr-xr-x | cores/arduino/HardwareSerial.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index f78eb2d..099c261 100755 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -138,6 +138,12 @@ void HardwareSerial::println(int n) println(); } +void HardwareSerial::println(unsigned int n) +{ + print(n); + println(); +} + void HardwareSerial::println(long n) { print(n); diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index 4f0cb54..5de9a1f 100755 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -52,6 +52,7 @@ class HardwareSerial void println(const char[]); void println(uint8_t); void println(int); + void println(unsigned int); void println(long); void println(unsigned long); void println(long, int); |