micro:bit event

interface MicrobitEvent {
    type: number;
    value: number;
}

Properties

Properties

type: number

The type of event

value: number

The value for the event