#

Lesson 15

    Assignment - write an application that interfaces with an input and an output.
  • I have made a script with a rotating box that swaps colors really quick (from white to grey and from grey to white).
  • I took the KnockSensor example for Arduino (from the Arduino IDE) and the On/Off example (from the Processing IDE) and I have combinded them with serial.
  • The script is compatible with (almost) all of the input source and you will only need to change the port name to the one that is writen in the Arduino IDE.
  • Here is an image of the box:
  • Here is an image of the Arduino code:
  • Donload the scripts here
  • Also, I was working on a paint application for Windows, Linux and Mac, but I (right now) did'nt get a success with the keyboard integration (for changing the colors and cleaning the canvas). Also I wanted to make an option that will let the user to save his drawing as a PNG file, but again, no success with that.
  • [UPDATE] There are some Processing scripts I wrote for integrating with Arduino. You can see the script working here (the video is too much big for YouTube and Vimeo so if you want to see the script running you have to download it). Download is on Week 10


#