Browse Source

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 #846.
pull/892/head v1.3.3
Damien George 10 years ago
parent
commit
0bbe4de527
  1. 2
      stmhal/help.c

2
stmhal/help.c

@ -39,8 +39,8 @@ STATIC const char *help_text =
"\n" "\n"
"Quick overview of commands for the board:\n" "Quick overview of commands for the board:\n"
" pyb.info() -- print some general information\n" " pyb.info() -- print some general information\n"
" pyb.gc() -- run the garbage collector\n"
" pyb.delay(n) -- wait for n milliseconds\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" " pyb.Switch() -- create a switch object\n"
" Switch methods: (), callback(f)\n" " Switch methods: (), callback(f)\n"
" pyb.LED(n) -- create an LED object for LED n (n=1,2,3,4)\n" " pyb.LED(n) -- create an LED object for LED n (n=1,2,3,4)\n"

Loading…
Cancel
Save