JS: Fix serial expansion bugs, add serial.end()

This commit is contained in:
Willy-JL
2024-03-23 20:16:45 +00:00
parent 5f3cd77056
commit 380038c01d
2 changed files with 40 additions and 10 deletions

View File

@@ -8,4 +8,6 @@ while (1) {
let data_view = Uint8Array(rx_data);
print("0x" + to_hex_string(data_view[0]));
}
}
}
// There's also serial.end(), so you can serial.setup() again in same script