Unity Arduino Examples

by tanyuan

Unity and Arduino example projects.

( Crawled an hour ago )
+

Unity & Arduino Examples

First of all, turn on Unity support for Serial Port:

Menubar → Edit → Project Settings → Player → Inside “Inspector” window on the right → In “Settings for PC, Mac & Linux standalone” tab → Under “Configuration” → Change “Api Compatibility Level” from “.NET 2.0 Subset” to “.NET 2.0”

Unity reads from Arduino sensors

Force-Sensitive Resistor on Pin A0

Arduino

Unity writes to Arduino actuators

Two servos on Pin 9 and 10

Arduino