Commit Graph

5 Commits

Author SHA1 Message Date
ole00
eac70f6c68 PC app: serial - add support for NO_CLOSE on Windows 2024-04-03 22:16:46 +01:00
ole00
4238800190 PC App: guesses the serial port device name
When the serial device name is not passed with paramerer -d
then the PC app will try to find an existing serial device.

* On Windows: selects the COM device with the highest number.
* On Linux: selects the serial usb device in any order, but
       priority is given to devices with Arduino name.
* ON MAC OS: selects the last  /dev/tty.* or /dev/tty/wchusb*
       device in the order that OS lists them.

This serial port detection should work OK if you have only one
Arduino attached. If you have (and need to have) several
Arduinos or serial ports connected at the same time then pass
the '-d' parameter to specify which one to use.
2024-03-23 16:08:29 +00:00
ole00
d518805925 serial port: support for keeping the port always opened
Closing serial port causes Arduino reset on Mac OSX.
2022-04-22 19:49:58 +01:00
ole00
b5d6fa6683 version 0.4 - baud rate changed to 57600. Please re-upload .ino sketch.
After testing with genuine arduino uno I could not make
it to work reliably using the original baudrate 38400 on
Windows 7. Linux worked OK, but Windows 7 inserted extra 2
bytes 0xFE or 0xFF at the beginnig of the serial communication
(at least that's what arduino read from the serial line).
Baudrate 57600 so far had no issue, another reliable option
seem to be 9600.
2022-04-01 22:15:48 +01:00
ole00
935d52e12b moved the PC app source to the src_pc directory
This fixes an issue with Arduino IDE which opens all .c files
(even unrelated) in the same directory when the .ino file is opened.
Fixes compilation error described in issue #10
2021-06-22 19:53:40 +01:00