06-30-2024, 02:52 AM
I don't think you'll get very far using `OPEN` with a serial device like that, it's really just not designed for it. There is `OPEN COM` which is intended for this, but it's Windows only.
The "easiest" way with the fewest questions around how it works would be to open the file directly with the underlying APIs (via `Declare Library`) -> `open()`, `read()`, `write()`, `close()`, etc. The `termios.h` header has the functions and structures for configuration the serial device. Unfortunately if you're not that familiar with these C APIs though it will be tricky to use them from QB64.
The "easiest" way with the fewest questions around how it works would be to open the file directly with the underlying APIs (via `Declare Library`) -> `open()`, `read()`, `write()`, `close()`, etc. The `termios.h` header has the functions and structures for configuration the serial device. Unfortunately if you're not that familiar with these C APIs though it will be tricky to use them from QB64.

