132
edits
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
<source lang="java"> | <source lang="java"> | ||
/ | // Moving the figure of the clock according to the incomingValue. | ||
import processing.serial.*; | |||
Serial myPort; | |||
int incomingVal; | |||
void setup() { | |||
size(1000, 700); | size(1000, 700); | ||
strokeWeight(5); | strokeWeight(5); | ||
Line 55: | Line 55: | ||
} | } | ||
void draw() { | |||
background(0); | background(0); | ||
edits