MIDI device tutorial help plz

Hi i've been buiding this tutorial

And i keep getting this error message, saying that button1 is not defined, even though it is defined in the previous lines. It looks like it should work, but idk could some one read threw this and let me know what's going on? thanks

P.S. the code is included as a screenshot attachment, is this correct posting procedure?

-Nick

nickevasion:
the code is included as a screenshot attachment, is this correct posting procedure?

Not in this universe.

I wonder what the sticky called How to use this forum - please read. has in it?
Maybe the one called Read this before posting a programming question ... might have something relevant.

Pete

Thanks guys. that really helped my project

Reading the posts you were pointed to and doing as they suggest would allow us to help with your project.

But if you can't be bothered....

Steve

I can't reproduce the issue with either the code from the tutorial page or the repository. The only thing I can think is maybe you have button1 and buttonl, which look identical in the font the Arduino IDE uses.