This week in my arcade class I’m talking about how to use serial communication to allow Unity and Arduino to talk to each other. To demo this, I modified Unity’s Flappy Bird example to work with a little custom controller that uses an IR Rangefinder to sense how far away a hand is. It winds up playing like a theremin.
The controller is housed in a box that used to hold fancy CBD gummies and the LEDs blink a few times when the player dies.













