Skip to content

Instantly share code, notes, and snippets.

@EelisRouvinen
Last active January 27, 2023 15:42
Show Gist options
  • Select an option

  • Save EelisRouvinen/f3e55392a3e17454a6b49c286ee5811c to your computer and use it in GitHub Desktop.

Select an option

Save EelisRouvinen/f3e55392a3e17454a6b49c286ee5811c to your computer and use it in GitHub Desktop.
serial output selection for aten vs481A
#!/bin/bash
stty -F /dev/ttyUSB0 19200 cs8 -parenb cstopb
echo -ne "\r" > /dev/ttyUSB0; echo -ne "sw i0$1 o01" > /dev/ttyUSB0; echo -ne "\r" > /dev/ttyUSB0
# manual page 15 https://assets.aten.com/product/manual/vs481a_um_w_2021-01-13.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment