title: Send long array to arduino over serial from processing
body: <p>So i build an 24x16 (hight of 16, length of 24) LED matrix and am using an Arduino Uno to control it. It is only a one color matrix and i am using an array to store all of the bits of data.</p>
  
  <p>This is an example of how i am storing the data on the arduino:</p>
  
  <pre><code>long frame [16] = {11184810, 5592405, 11184810, 5592405, 11184810, 5592405, 11184810, 5592405, 11184810, 5592405, 11184810, 5592405, 11184810, 5592405, 11184810, 5592405};
  </code></pre>
  
  <p>The way that i store this data is by rows. ex: long frame [16] = {row 1 bits, row 2 bits, ... and so on}</p>
  
  <p>If you convert 11184810 to binary; you would get 101010101010101010101010 which represents the data for one row of LED's.</p>
  
  <p>One limitation that i came across on when using the arduino was the limited space on it to store theses arrays so i wanted to find a way to send it through serial.</p>
  
  <p>I wanted to ask if i could get some help writing some code for Processing and for the arduino so that i could send this array data from Processing to the array on the arduino live over serial. I have never used Processing and don't know how to use it, but read that is is a good way of sending data to the arduino and also having a GUI to enter in the data.</p>