microbit-more / mbit-more-v2

Full-functional extension of micro:bit for Scratch3
MIT License
32 stars 21 forks source link

Touch pin button does not work after the pin was set another mode #7

Closed yokobond closed 3 years ago

yokobond commented 3 years ago

First, a pin (P0, 1, 2) is used as touch button using [when pin touched] or [is pin touched]. Then the pin set another mode like [digital input pullup]. The pin will not be work as touch button after that until reload the page.

micro:bit : microbit-more-v2-0_1_0 on v1 and v2 Scratch : mbit-more-v2 0.1.0 browser : Chorme 88.0.4324.182 on macOS 10.15.7

yokobond commented 3 years ago

touch-mode was not reset when the pin was set to another mode. Fixed at fc76f70845c938e2c3f151172fbae87f9fff022a