Skip to content

Demo scene

Open SerialInputBridge/DemoScene/SerialInputBridgeDemo.unity. It uses the DemoFirmata2Profile profile (in DemoScene/DemoFirmata2/) and expects this wiring:

Pin Role Part Wiring
D2 Digital In Push button Between D2 and GND. The internal pull-up is enabled, so no resistor is needed.
A0 Analog In Potentiometer Outer legs to 5V and GND, middle leg to A0.
D13 Digital Out Built-in LED Nothing to wire: the board’s LED is already on D13. If your board has none, use an LED and a ~220 Ω resistor between D13 and GND.

The package also includes a printable wiring diagram, Demo_Wiring_Diagram.pdf.

Press Play. The button lights its row and the cube, the knob turns the cube, and the D13 switch in the Outputs section drives the LED.