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.
1 parent 324da86 commit 64bcd06Copy full SHA for 64bcd06
preload.js
@@ -18,12 +18,7 @@ const Serial = {
18
return await board.close()
19
},
20
run: async (code) => {
21
- await board.exit_raw_repl()
22
- await board.enter_raw_repl()
23
- // Prevent executing empty string
24
- let result = await board.exec_raw(code || '#')
25
26
- return Promise.resolve(result)
+ return board.run(code)
27
28
stop: async () => {
29
await board.stop()
0 commit comments