JacTech
Opening serial port in windows service (Solved)
Hey, this is my "first" time coding anything other than Arduino. I'm trying to create a Windows service to open a serial port to my Arduino, so the Arduino knows when my PC is on or off. So far, so good. I've managed to create a Windows service, and it seems to open the COM port correctly (according to the event log). When the service is running, I'm (as expected) not able to connect to the Arduino via the serial monitor anymore, which further shows that the port is opened by the service.
However, for some reason, the Arduino doesn't recognize that the port is open. The Arduino does correctly recognize it when I open the port using the serial monitor, but not when I open it in the service.
8 replies