Virtual COM port on Linux

Dave Smith dave at
Mon Mar 15 14:38:00 MDT 2010

Stuart Jansen wrote:

> #!/bin/bash
> DELAY=10
> DEVICE="/dev/ttyUSB0"
> printf '\xFF\x01\x01' > "$DEVICE" # Power off
> sleep "$DELAY"
> printf '\xFF\x01\x00' > "$DEVICE" # Power on

Commit rejected.

Never name a variable that has anything to do with time without using 
the units in the name:




More information about the PLUG mailing list