jamesfcarter / pl2303relay

A Go driver for common USB-attached relay boards using the PL2303 USB to RS232 chip.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PkgGoDev

pl2303relay

A Go driver for common USB-attached relay boards using the PL2303 USB to RS232 chip.

The package comes with a simple command-line tool to control relays. For example, to turn on both relays on a two relay board:

go run github.com/jamesfcarter/pl2303relay/cmd/relay /dev/ttyUSB0 3

About

A Go driver for common USB-attached relay boards using the PL2303 USB to RS232 chip.

License:GNU General Public License v2.0


Languages

Language:Go 100.0%