mirror of
https://github.com/sergeyyarkov/avr128da48_web-serial-example.git
synced 2026-10-11 18:28:58 +03:00
'>' to textarea
This commit is contained in:
parent
99e3797fa5
commit
79b550ed76
@ -87,7 +87,7 @@ class Application {
|
||||
const data = $form.elements.input.value;
|
||||
$form.reset();
|
||||
if (this.serialPortHandler.isOpened && data) {
|
||||
this.$serialLog.innerHTML += data + '\n';
|
||||
this.$serialLog.innerHTML += '>' + data + '\n';
|
||||
await this.serialPortHandler.write(data + '\n');
|
||||
const message = await this.serialPortHandler.read();
|
||||
this.$serialLog.textContent += message.replaceAll(EOT, '');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user