- MicroPython Cookbook
- Marwan Alsabbagh
- 70字
- 2021-06-24 14:28:17
Detecting push button presses
In this recipe, we will learn how to create a program that will print a message when the push button is pressed. Push buttons are a great way to create user interaction on your devices. This board comes with two push buttons, A and B, so you can create all sorts of different interactions with your users by reading and responding to push button events.