Advertisement
jcalebmartin

it rly cool SO PROGRAM YA DARN ARDUNIO

Feb 1st, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import procs=essing.serial.*;
  2. char inputChar=7;
  3. serial commsport;
  4. void setup()
  5. {
  6. commsPort=newSerial(this, Serial.list ()[1],38400);
  7. }
  8. void draw()
  9. {
  10. while(mousePressed==true)
  11. {
  12. commsPort.write(inputChar);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement