Skip to content

Commit 0bbe4de

Browse files
committed
stmhal: Update help text.
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 micropython#846.
1 parent 3b06437 commit 0bbe4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stmhal/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ STATIC const char *help_text =
3939
"\n"
4040
"Quick overview of commands for the board:\n"
4141
" pyb.info() -- print some general information\n"
42-
" pyb.gc() -- run the garbage collector\n"
4342
" pyb.delay(n) -- wait for n milliseconds\n"
43+
" pyb.millis() -- get number of milliseconds since hard reset\n"
4444
" pyb.Switch() -- create a switch object\n"
4545
" Switch methods: (), callback(f)\n"
4646
" pyb.LED(n) -- create an LED object for LED n (n=1,2,3,4)\n"

0 commit comments

Comments
 (0)