the assignment this week was about user interface and how the user interacts with programs and what he actually sees, i have always been interested in GUI and graphical design so it was a small step into a big world
we used processing programing language
i wanted to make a buzzer that i can turn on and off using the mouse first i wrote the arduino part and then i wrote the processing code
in he arduino code it receives a 1 or a 0 and if it receives a 1 it gives a digital high output to turn on the buzzer
in the processing code if the left mouse button is clicked it returns a 1 so the buzzer turns on and if the right mouse is clicked it returns a zero so the buzzer turns off