Physical Computing Week 7: Asynchronous Serial 2
October 20, 2016 · 96 words · tagged under physcomp_fall2016
To test sending serial data from my laptop to the Arduino, and to also experiment with serial communication outside of P5.js and P5Serial, I repurposed an old Python script I had written that performs emotion detection (using a wrapper for FaceTracker) to write its output to serial. Then I hooked Arduino to 4 LEDs for the expressions that my script could detect - happiness, sadness, anger, and surprise.