Search found 1 match
Search found 1 match • Page 1 of 1
- Tue Jul 30, 2019 11:50 pm
- Forum: micro:bit boards
- Topic: was_pressed equivelant for IO pins
- Replies: 1
- Views: 182
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...