B.2 Reading a Button (sketch)

In this lesson we will learn how to write a code that reads whether the button is pressed or not. This information can be used by a lot of things, like sending MIDI notes.