2

I have a simple serial device that I need to talk to (but not listen to) periodically via command.

The device is connected OK as /dev/usbxxx.

What is the simplest/easiest way to do this?

Installing software (python, minicom, whatever) is fine.

The exact scenario is I have an Arduino device (a Cube4) that I want to use as a build light. Periodically, I will poll the CI server or use RSS etc and need to tell it what color to display. Using session-based solutions (like screen) seems like they won't work because the terminal command runs elsewhere (although I suppose I could remote to the screen session, send the chars via who knows what, then disconnect).

Giacomo1968
  • 58,727
Bohemian
  • 363

1 Answers1

0
echo "characters" > /dev/usbxxx

Simplest I can think of, and should work in Zsh.

Giacomo1968
  • 58,727
Foosh
  • 1,134