I want to move Unity's cube when I bring the magnet closer to Arduino.

Asked 2 years ago, Updated 2 years ago, 79 views

http://deviceplus.jp/hobby/entry044/
I created an Arduino Rotometer by referring to this site.I want to move the cube on Unity according to the number of revolutions when I try to use the magnet with this rotator, but I don't know how to do it.
Arduino and Unity worked together using a paid asset called Uniduino.

Unity

Arduino

unity3d arduino

2022-09-30 11:34

1 Answers

In Serial.print, BD7411G Sample should be displayed, but since there is nothing, it seems that the pin connection is wrong and the initialization has not been completed.If I were you, I would like to try changing my PIN number.(Also, before bd7411.init, I would like to know if the code is working in the first place by putting it in Serial.print ("Start...").


2022-09-30 11:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.