pxt-calliope/docs/reference/radio/raise-event.md
2019-02-13 21:01:50 -08:00

484 B

raise Event

Sends an event over radio to be raised in the event bus of other @boardname@.

radio.raiseEvent(control.eventSourceId(EventBusSource.MICROBIT_ID_BUTTON_A), control.eventValueId(EventBusValue.MICROBIT_EVT_ANY));

This is an advanced API. For more information, see the @boardname@ runtime messageBus documentation

See Also

control raise event