For those that work with hardware communication… what tools/utilities can I use so that two processes and can read from and write to the same serial port? #arduino #RaspberryPi
Conversation
Replying to
I know you probably have a good reason for this, but why do you need two processes to read from it?
1
Replying to
The serial port is used to communicate with a 3D printer. Octoprint currently communicates over the port. I want to control an LED strip by reading commands from a separate process (I don’t want to have to rely on Octoprint because I may switch to something else in the future)
2
Replying to
Maybe you could make a small process that communicates with the serial port and then use that process as the multiplexer and communicate with that process via other processes, etc.
Just an idea -- haven't messed with serial ports in ages. :)
Replying to
Yeah, that’s what I think I need to do. I haven’t been able to find a reference on how to build such a process (such that Octoprint can natively interface with it). The solutions I am finding don’t really provide enough info.
1
1
Replying to
Good luck -- I'm sure you'll figure it out. It's usually about finding the path of least work for me.
1
Show replies

