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?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community