Serial over USB issue.
in
Integration and Hardware
•
2 years ago
I'm still fairly new to coding, so please excuse a dumb question:
My main issue is getting serial communication over the USB port. I opened up 'SimpleWrite' example in processing (under Serial), I took the arduino code and uploaded it into my PLC. I then changed the portName to COM3. I can't seem to get the two to work together.
I am hoping that it simply is the wrong call out, is it possible to use the USB instead of a serial breakout board? Thanks in advance for the help.
Actually while I'm at it. In the Arduino the call out for an additional tab is #include "name".... what is it for Processing? Thanks!
My main issue is getting serial communication over the USB port. I opened up 'SimpleWrite' example in processing (under Serial), I took the arduino code and uploaded it into my PLC. I then changed the portName to COM3. I can't seem to get the two to work together.
I am hoping that it simply is the wrong call out, is it possible to use the USB instead of a serial breakout board? Thanks in advance for the help.
Actually while I'm at it. In the Arduino the call out for an additional tab is #include "name".... what is it for Processing? Thanks!
1