aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-02-23 21:52:53 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-02-23 21:52:53 +0000
commit1e2fec8d1a523f3053948a954e7a40f9184f8004 (patch)
treeb9a8377bc9f995ed021b5ba51570fcbf26a19a46
parent4efeb2f6475c02b8453a8de58a16f14427b04c1f (diff)
Cleaning up Mac build, adding Serial.println(unsigned int), adding #include <Sprite.h> to hello_matrix example.
-rwxr-xr-xcores/arduino/HardwareSerial.cpp6
-rwxr-xr-xcores/arduino/HardwareSerial.h1
-rw-r--r--libraries/Matrix/examples/hello_matrix/hello_matrix.pde1
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