コード例 #1
0
    // Update is called once per frame
    public void TaskOnClick()
    {
        ArduinoSerialInterface.Init();
        string msg = MessageUtils.FillMessage(vibro, duration, intensity);

        Debug.Log("Filled msg: " + msg);
        string resp = ArduinoSerialInterface.SendMessage(msg);

        Debug.Log("Resp: " + resp);
    }