In this video I will explain how to program a Unity Project to communicate with an Arduino and the other way around.
*UPDATE*
As of 09/12/2022, the SerialPort class is no longer part of the standard library, therefore you must go to Project - Manage NuGet Packages - Browse - Search for "Serial Port" and install System.IO.Ports by Microsoft.
Source Code: github.com/cal...
DISCLAMER: I will do my best to respond to any issues raised and maintain the code with other versions of Unity however, this was just a small side project.
18 сен 2024