Fun with unity

 Fun With Unity

This is a little fun Arduino communication with unity to have a cube move in the game world and have the led shut off on the Arduino board. Here is the circuit and its components.













Coding 

The coding is simple, but we will be using two applications. The Arduino ide and Microsoft studio 2022 to write the unity script. We will be communicating between the two to show the serial connection that can be made.



Arduino IDE:








Unity Script








Finished Product


This project was a simple build and some easy coding. The serial connection to have the two communicate was pretty interesting and has many various uses for the advancement of coding. The code was also provided by the professor. The connection between the Arduino and unity opens up many pathways when going forwards.





Comments

Popular posts from this blog

Personal Project 3: Etch A Sketch

Personal Project 4: Clap Lights

Personal Project 2: Tic Tac Toe