tanyuan / unity-arduino-examples

Unity and Arduino example projects.

Repository from Github https://github.comtanyuan/unity-arduino-examplesRepository from Github https://github.comtanyuan/unity-arduino-examples

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

About

Unity and Arduino example projects.


Languages

Language:C# 68.6%Language:Arduino 31.4%