We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
chunk_sleep
1 parent 43cc631 commit 728c2d8Copy full SHA for 728c2d8
micropython.js
@@ -172,7 +172,7 @@ class MicroPythonBoard {
172
for (let i = 0; i < command.length; i += this.chunk_size) {
173
const slice = Buffer.from(command.slice(i, i+this.chunk_size))
174
await this.serial.write(slice)
175
- await sleep(10)
+ await sleep(this.chunk_sleep)
176
}
177
// Execute
178
await this.serial.write(Buffer.from(`\x04`))
0 commit comments