pxt-calliope/docs/reference/control.md

20 lines
570 B
Markdown
Raw Normal View History

2016-04-05 22:23:42 +02:00
# Control
2016-05-05 20:16:14 +02:00
Runtime and event utilities.
2016-04-05 22:23:42 +02:00
```cards
control.inBackground(() => {
});
control.reset();
2016-08-17 02:04:21 +02:00
control.waitMicros(4);
control.onEvent(0, 0, () => { });
control.raiseEvent(0, 0);
control.eventTimestamp();
control.eventValue();
2016-04-05 22:23:42 +02:00
```
2016-08-08 22:08:15 +02:00
## See Also
2016-08-08 22:08:15 +02:00
[inBackground](/reference/control/in-background), [reset](/reference/control/reset), [waitMicros](/reference/control/wait-micros), [onEvent](/reference/control/on-event), [raiseEvent](/reference/control/raise-event), [eventTimestamp](/reference/control/event-timestamp), [eventValue](/reference/control/event-value)