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.
If you do not have a
libraries folder ...