OH GOLLY IT WORKS! I SUCCESSFULLY CONNECTED ARDUINO TO UNITY. LIKE YEAYS.
And my RGB works!
Turns out I couldn't use any other FTDI other than the special FTDI FOR Lilypad.
This is me testing out the accelerometer in Arduino.
Here's a video of me waving it around with unity at the background.
I had an error about an extra unused class but it was just a minor problem. They didn't want me to waste the declaration.
I'm overjoyed. One step closer!
ALL THANKS TO THESE TUTORIALS:
I'm going to add a Happiness level graph later on. I thought I wanted it to be Stress Level, but..it's a little bit discouraging for my tastes.
Happines level : 10
References
LilyPad Arduino, (2013). LilyPad Accelerometer. [online] Available at: http://lilypadarduino.org/?p=384 [Accessed 20 Sep. 2014].
Mengsk, C. (2010). Unity3d + Arduino (Read serial in Unity3d) - Arduino Forum. [online] Forum Arduino. Available at: http://forum.arduino.cc/index.php/topic,40001.0.html [Accessed 20 Sep. 2014].
Stackoverflow, (2014). Weird warning : "is assigned but its value is never used". [online] Available at: http://stackoverflow.com/questions/6330491/weird-warning-is-assigned-but-its-value-is-never-used [Accessed 20 Sep. 2014].
No comments:
Post a Comment