bbcmicrobit / bbcmicrobit/micropython

feature request. button_a.both_are_pressed() / button_b.both_were_pressed()

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

Description

is it possible to add button methods to both buttons a an b to detect when both were pressed. microsoft makecode (java) supports both buttons being pressed as a trigger for a callback. I've written code to execute a function if both are pressed, but it requies loads of running_time() calculations to trigger events a then b or event a+b

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.