From 0bbe4de52782334ef8e18bda1797b9726abc3237 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 2 Oct 2014 14:51:17 +0100 Subject: [PATCH] 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. --- stmhal/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stmhal/help.c b/stmhal/help.c index fe143441d8..525f5b0f4b 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"