aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-02 14:51:17 +0100
committerDamien George <damien.p.george@gmail.com>2014-10-02 14:51:17 +0100
commit0bbe4de52782334ef8e18bda1797b9726abc3237 (patch)
tree39ec6c1f7f1103628d104a10992256619ecd5bb8
parent3b064370f83891a25f1fb786f079cd0e0383903e (diff)
stmhal: Update help text.v1.3.3
Remove reference to pyb.gc; add reference to pyb.millis. There are lots of functions not listed when you run help(), but it would be too much to list them all, so we list only some basic, useful ones. Addresses issue #846.
-rw-r--r--stmhal/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/help.c b/stmhal/help.c
index fe143441d..525f5b0f4 100644
--- a/stmhal/help.c
+++ b/stmhal/help.c
@@ -39,8 +39,8 @@ STATIC const char *help_text =
"\n"
"Quick overview of commands for the board:\n"
" pyb.info() -- print some general information\n"
-" pyb.gc() -- run the garbage collector\n"
" pyb.delay(n) -- wait for n milliseconds\n"
+" pyb.millis() -- get number of milliseconds since hard reset\n"
" pyb.Switch() -- create a switch object\n"
" Switch methods: (), callback(f)\n"
" pyb.LED(n) -- create an LED object for LED n (n=1,2,3,4)\n"