Search found 1 match

by plantpot
Tue Jul 30, 2019 11:50 pm
Forum: micro:bit boards
Topic: was_pressed equivelant for IO pins
Replies: 1
Views: 182

was_pressed equivelant for IO pins

I am wanting to create a simple button counter using the IO pins instead of the A/B buttons. With the buttons this is easy because of: is_pressed() Returns True if the specified button button is pressed, and False otherwise. was_pressed() Returns True or False to indicate if the button was pressed s...