Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have an arduino connected to /dev/ttyUSB0. I try to send '1' to it using
echo 1 > /dev/ttyUSB0
but nothing seems to happen. However, if I do this beforehand:
tail -f /dev/ttyUSB0 &
and try the echo command again, it works. Why is this?
Required, but never shown