Skip to content

Commit 1648e6a

Browse files
committed
Configure chunk sizes
1 parent 82c3423 commit 1648e6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

preload.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const { contextBridge, ipcRenderer } = require('electron')
33

44
const Micropython = require('micropython.js')
55
const board = new Micropython()
6+
board.chunk_size = 192
7+
board.chunk_sleep = 200
68

79
const Serial = {
810
loadPorts: async () => {

0 commit comments

Comments
 (0)