Arduino: Building exciting LED based projects and espionage devices
by Adith Jagdish Boloor, Samarth Shah, Utsav Shah, Marco Schwartz
Tic-tac-toe with touch
Remember how, while using Arduino, you needed to install libraries to make certain functions work? We need to do the same with Processing because it cannot directly communicate with the Arduino. To do this, go to http://playground.arduino.cc/Interfacing/Processing and download the processing2-arduino.zip file. Processing, like Arduino also creates a directory by default in the Documents folder. Extract the downloaded ZIP file to C:\Users\<user>\Documents\Processing\libraries for Windows and Documents/Processing/libraries for Mac and Linux.
Do the same for the matrix library we will be using in the next section from http://pratt.edu/~fbitonti/pmatrix/matrix.zip. Restart Processing.
Note
If you do not have a libraries folder ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access