diff options
-rwxr-xr-x | cores/arduino/HardwareSerial.cpp | 6 | ||||
-rwxr-xr-x | cores/arduino/HardwareSerial.h | 1 | ||||
-rw-r--r-- | libraries/Matrix/examples/hello_matrix/hello_matrix.pde | 1 |
3 files changed, 8 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); diff --git a/libraries/Matrix/examples/hello_matrix/hello_matrix.pde b/libraries/Matrix/examples/hello_matrix/hello_matrix.pde index eafed3e..127917f 100644 --- a/libraries/Matrix/examples/hello_matrix/hello_matrix.pde +++ b/libraries/Matrix/examples/hello_matrix/hello_matrix.pde @@ -1,3 +1,4 @@ +#include <Sprite.h> #include <Matrix.h> // Hello Matrix |