この記事ではM5Stickをbluetoothに繋げて値を受け取ろうという記事です。 まずは M5StickC Plus 側のプログラムを作成します。 以下のコードを Arduino IDE で書き込みます。 これで、M5StickC Plus が Bluetooth 経由で「D12.34」のようなデータを定期的に送信します。
There are three scenes that show how to read/write data from/to a serial device. There is a prefab that you need to add to your scene, this prefab will do all the thread management, queue ...
This project mainly focuses on the connection and visualization of Arduino Uno Sensor data. To test this program, 2 steps are needed: Set up Arduino Uno Potentiometer. Run the Unity project. Then you ...