-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto connect if only one port available #163
base: development
Are you sure you want to change the base?
Conversation
9b45012
to
02a31e7
Compare
Copilot
AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- ui/arduino/main.css: Language not supported
02a31e7
to
07fa1ce
Compare
I noticed that every character input into the REPL is passed to
to test run the app in dev mode |
@sebromero ipcMain.handle('serial', (event, command, ...args) => {
console.debug('Handling IPC serial command:', command, ...args)
return serial[command](...args)
}) What's the use of this one? eval: (d) => {
return ipcRenderer.invoke('serial', 'eval', d)
}, |
@ubidefeo It's been like this before just that there was no output to the console. It just pipes every byte from the terminal to the serial port where it gets executed in the REPL on the board. Once you send a newline it executes the line. If you like we can implement a buffer and only send complete lines and special bytes like the REPL shortcut commands. |
@sebromero |
07fa1ce
to
371ac94
Compare
FYI: already merged this in |
This PR enables auto connect for when only one port is available. It then displays the connection status in the status bar.