@@ -70,6 +70,8 @@ public class ArrowSerialPort : MonoBehaviour
//应用启动 间隔十秒请求一次设备信息
InvokeRepeating("RequestDeviceIno", 0f, 10f);
LOG($"{PortName} 串口打开成功!");
+ // 关闭一次摄像头
+ RequestLightState(false);
}
else if (msg.Equals("CLOSED"))//串口断开
{