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 authored and GitHub committed 2017-10-11 11:31:07 -07:00
1 parent 8d9c90884b
commit cdbc34550a
10 files changed
+49 -10

No files matched your search

@@ -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)
+1 -1
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();