aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-26 21:21:43 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-26 21:22:39 -0400
commitec67102373dad97b8fa1d9494f97fe45ea9d9d30 (patch)
tree56ecf5d1b1985dacf24ab7ead6eef4bfe5d6c65f
parent2bd55903033d1ff8b3dc5082c80c18c877460bc3 (diff)
downloadlibrambutan-ec67102373dad97b8fa1d9494f97fe45ea9d9d30.tar.gz
librambutan-ec67102373dad97b8fa1d9494f97fe45ea9d9d30.zip
Fix millis() example.
-rw-r--r--docs/source/lang/api/millis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/lang/api/millis.rst b/docs/source/lang/api/millis.rst
index db0531c..b6fbf55 100644
--- a/docs/source/lang/api/millis.rst
+++ b/docs/source/lang/api/millis.rst
@@ -29,7 +29,7 @@ once per second::
SerialUSB.print("Time: ");
time = millis();
// prints time since program started
- Serial.println(time);
+ SerialUSB.println(time);
// wait a second so as not to send massive amounts of data
delay(1000);