Processing and Arduino: how to change color according to the status of a digital input?

Dear All,

I am new in the “Processing world”. I have connected Processing to Arduino.
What I can do, it is to push a button and activate some Digital Outputs in Arduino.

Now, what I wanna do is: according to the status of an output, how I can “color” a certain square in processing? Let’s say, like a led?

Thanks a lot,
Samuele

Hello @samiam85,

There is a tutorial on Electronics here suitable for a beginner:

Explore away!

:)

As well as that, see (Processing) File, Examples, Libraries, Serial. Try all 5 examples starting with SimpleRead and SimpleWrite.

1 Like

Hello,

If you are exploring the examples that come with the Processing IDE take a look at this topic:

:)

Dear All,

thanks a lot for your replies. I’ll go trhough the tutorials, then and I’ll be back to you, if necessary.

Samuele.

1 Like