File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,20 +31,20 @@ Functions
3131 which expresses a time as per localtime. It returns an integer which is
3232 the number of seconds since Jan 1, 2000.
3333
34- .. only :: port_pyboard
34+ .. only :: port_unix or port_pyboard or port_esp8266
3535
3636 .. function :: sleep(seconds)
3737
3838 Sleep for the given number of seconds. Seconds can be a floating-point number to
3939 sleep for a fractional number of seconds.
4040
41- .. only :: port_esp8266 or port_wipy
41+ .. only :: port_wipy
4242
4343 .. function :: sleep(seconds)
4444
4545 Sleep for the given number of seconds.
4646
47- .. only :: port_wipy or port_pyboard
47+ .. only :: port_unix or port_pyboard or port_wipy or port_esp8266
4848
4949 .. function :: sleep_ms(ms)
5050
@@ -64,10 +64,14 @@ Functions
6464
6565 Just like ``ticks_ms `` above, but in microseconds.
6666
67+ .. only :: port_wipy or port_pyboard
68+
6769 .. function :: ticks_cpu()
6870
6971 Similar to ``ticks_ms `` and ``ticks_us ``, but with higher resolution (usually CPU clocks).
7072
73+ .. only :: port_unix or port_pyboard or port_wipy or port_esp8266
74+
7175 .. function :: ticks_diff(old, new)
7276
7377 Measure period between consecutive calls to ticks_ms(), ticks_us(), or ticks_cpu().
You can’t perform that action at this time.
0 commit comments