Receive digital button input from Arduino

Hi, I’m working on a project where I would like to use an Arduino button in an openframeworks program. I have tested the button on the arduino application and it works fine, and I am now using the starndard firmata. I am just wondering how I can get openframeworks to recieve the input so that I can use it in my program.

The button is in digital pin 2.

Thank you!

Hi! Welcome to the forum :slight_smile:

Have you tried the firmataExample?

1 Like

Hi, yes I did and I was then able to figure it out. Thanks for the help!