Skip to content

GoLang implementation of usb-relay for control USB HID relay module.

License

Notifications You must be signed in to change notification settings

e61983/go-usb-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO usb relay

Imgur

A driver for control usb relay module implement with Golang. We access devices through karalabe/hid (with karalabe/hid#13 merged).

Support

OS Is supported
MacOS Yes
Windows Yes
GNU/Linux Yes ( No test yet )

Install

go get -v -u github.com/e61983/go-usb-relay

Testing

$ make test

Build

$ make

Usage

# Trun On channel 1 relay.
$ release/darwin/amd64/go-usb-relay -n 1 -o

# Set SN
$ release/darwin/amd64/go-usb-relay -sn 12345

About

GoLang implementation of usb-relay for control USB HID relay module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published