aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source')
-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);