mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
- Add RTS and DTR support [EXPERIMENTAL!!]
This commit is contained in:
parent
1f93e8b777
commit
0636c6ec2c
@ -9,7 +9,7 @@ async function connectSerial() {
|
||||
try {
|
||||
port = await navigator.serial.requestPort();
|
||||
await port.open({ baudRate: document.getElementById("baud").value });
|
||||
await port.setSignals({ dataTerminalReady: true, requestToSend: true });
|
||||
await port.setSignals({ dataTerminalReady: false, requestToSend: false });
|
||||
listenToPort();
|
||||
|
||||
textEncoder = new TextEncoderStream();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user