aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api
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
commit9416f0052a7806ff4174a144e8d3449d4e834edb (patch)
treed4c240eac5c5d62a1c8e909eb209aade49dc6a83 /source/lang/api
parentb49a13adf1d71566b203464197b5f35fc9cb2fa1 (diff)
downloadlibrambutan-9416f0052a7806ff4174a144e8d3449d4e834edb.tar.gz
librambutan-9416f0052a7806ff4174a144e8d3449d4e834edb.zip
Fix millis() example.
Diffstat (limited to 'source/lang/api')
-rw-r--r--source/lang/api/millis.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lang/api/millis.rst b/source/lang/api/millis.rst
index db0531c..b6fbf55 100644
--- a/source/lang/api/millis.rst
+++ b/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);