Mouse Blink

In this exploration, mouse position is used to control the on/off time (duty cycle) if a blinking led.

00:00 intro
00:20 circuit
00:35 Arduino code
05:45 blink : error check and LED timer
10:20 DEMO Arduino protocol
11:50 NOTE :: I typed 200 000 not 20 000 and received a rolled over value.
13:50 p5js structure (order of folders in atom file tree matters!)
14:35 p5 serial control config and port setup
15:30 DEMO
16:40 p5js code deep dive