From 1e2fec8d1a523f3053948a954e7a40f9184f8004 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 23 Feb 2008 21:52:53 +0000 Subject: Cleaning up Mac build, adding Serial.println(unsigned int), adding #include to hello_matrix example. --- cores/arduino/HardwareSerial.cpp | 6 ++++++ cores/arduino/HardwareSerial.h | 1 + 2 files changed, 7 insertions(+) (limited to 'cores') 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); -- cgit v1.2.3-18-g5258