Did you know we can set the program to use the brick buttons?
- 15 Feb 2019
So far we have used the buttons to navigate the brick interface only. In fact, they can be used by the program and programming the buttons won’t be anything new!
Imagine each button is a touch sensor. And this is not far from true. Is programming the buttons any different than programming the touch sensor? Not at all! We can use all known blocks with the buttons – the wait block, the switch block and even the loop block.
The only difference is that we have to specify which button/buttons is/are used in the respective task.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons