Leap Motion
p5.js
Arduino
- successfully make serial communication to instruct which LED will light up depends on p5.js output
- Learning: how to debug serial communication:
- code arduino, open serial monitor, send msg to make sure arduino side is correct
- close serial monitor
- code p5, see hardware reaction.
- Note: the long side of LED is positive