Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

iqfareez/Unity-Serial-Arduino

Repository files navigation

Unity Arduino

Unity & Arduino Serial communicaion

Update Dec 2022: I've made a bluetooth version that can be found here. It also didn't use the wrmhl library

Setup

  • Clone this repo and open it in Unity.
  • Connect the Arduino into your PC and upload the Arduino/ps2-joystick-arduino.ino files to the Android Uno etc.
  • Change the COM port in Unity's inspector panel.
  • Run the game.

Demo

20211120_092356

20211120_092537.mp4
20211120_091634.mp4

Thanks to

https://github.com/relativty/wrmhl (Serial script)