Example #1
0
    // Use this for initialization
    void Start()
    {
        string[] names = SerialHandler.getPortNames();
        for (int i = 0; i < names.Length; i++)
        {
            Debug.Log(names[i]);
        }

        serial.OnDataReceived += Serial_OnDataReceived;
    }