micro:bit connection library
    Preparing search index...

    Variable ButtonStateConst

    ButtonState: { LongPress: 2; NotPressed: 0; ShortPress: 1 } = ...

    Type Declaration

    • ReadonlyLongPress: 2
    • ReadonlyNotPressed: 0
    • ReadonlyShortPress: 1