bash -> arduino


Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3879
Posted: 11:32am 06 Jun 2020      

For what it's worth (perhaps not much), your combination of stty and echo ... >/dev/ttyUSB0 looks just like what I have used many times for many years--but I've never used an arduino as a target.

I see that in one instance I specified the full path: /usr/bin/stty

I have encountered very obscure (to me) differences between running a command at the prompt and running the same command in a script.