Data from a pinchanged event.

Contains only the input pins whose values changed since the last notification, up to a firmware limit of 10 pins per event (lowest-numbered first). Use @microbit/microbit-connection/bluetooth!MicrobitBluetoothConnection.readPins to read all input pins on demand.

interface PinData {
    data: PinValue[];
}

Properties

Properties

data: PinValue[]