Various fixes (#548)

* adding running time micros

* support for system micro seconds

* restore display mode after plotting sprites

* bump pxt
This commit is contained in:
Peli de Halleux
2017-10-11 11:31:07 -07:00
committed by GitHub
parent 8d9c90884b
commit cdbc34550a
10 changed files with 49 additions and 10 deletions

View File

@ -0,0 +1,17 @@
# Running Time Micros
Find how long it has been since the program started in micro-seconds.
```sig
input.runningTimeMicros();
```
## Returns
* the [Number](/types/number) of microseconds since the program started.
(One second is 1000000 microseconds.)
## See also
[show number](/reference/basic/show-number), [pause](/reference/basic/pause)

View File

@ -1,6 +1,6 @@
# Running Time
Find how long it has been since the program started.
Find how long it has been since the program started in milli-seconds.
```sig
input.runningTime();