pxt-calliope/docs/reference/input/running-time-micros.md
Peli de Halleux cdbc34550a Various fixes ()
* adding running time micros

* support for system micro seconds

* restore display mode after plotting sprites

* bump pxt
2017-10-11 11:31:07 -07:00

348 B

Running Time Micros

Find how long it has been since the program started in micro-seconds.

input.runningTimeMicros();

Returns

  • the Number of microseconds since the program started. (One second is 1000000 microseconds.)

See also

show number, pause