bbcmicrobit / bbcmicrobit/micropython

Create microbit.button_x.is_long_pressed()?

Open
#267 9 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
646
Forks
290
PR merge metrics
No merged PRs in 30d

Description

The micro:bit Bluetooth profile spec supports three button states - not pressed, pressed and long press (to quote: `3 button states are defined and represented by a simple numeric enumeration: 0 = not pressed, 1 = pressed, 2 = long press`). Perhaps the long press state could somehow be implemented into MicroPython?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.