I'm working on a custom industrial machine. And, I'm trying to use arduino instead of traditional PLC in the machine. And, As arduous uses various ports via USB cable to communicate between hardware and Computer. So, I wanted to know - if there is any way to send data from command line (CMD).
I read somewhere that it is possible through Python. But, wanted to run the machine via CMD / Batch file. As, I'm good in that - so, communication and UI will be quite friendly.
Thanks in advance.
How To send Data From Different Ports Using CMD? - DIY Arduino + Batch
Moderator: DosItHelp
Re: How To send Data From Different Ports Using CMD? - DIY Arduino + Batch
I am not sure if you can do it over USB.
In general you can do this.
In general you can do this.
Code: Select all
echo sometext >\\.\COM4