ok now to sound really dumb, how do i get this into the ardino. do i type it in or can i import it?
Copy&Paste my friend!
code that I posted, Right Click "COPY" and then Paste it into the Arduino IDE.
Click the button that says VERIFY to make sure that it compiles properly, and then either "Save" the Sketch or
"Upload" it to the Arduino.