void setup() { size(800, 600); // Set the size of the Processing window myPort = new Serial(this, "COM3", 9600); // Replace "COM3" with your Arduino's port }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter