Skip to content

Example program using the MCC USB-1608FS-Plus to gather data

License

Notifications You must be signed in to change notification settings

questrail/usb1608fsplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCC USB-1608FS-Plus Example

GoDoc License Badge

Go example program using the MCC USB-1608FS-Plus to gather data.

Installation

$ go get github.com/questrail/usb1608fsplus

Dependencies

  • C libusb — Library for USB device access
    • OS X: $ brew install libusb
    • Debian/Ubuntu: $ sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev
  • Go libusb — Go bindings for the libusb C library
    • $ go get github.com/gotmc/libusb
  • mccdaq — Go-based driver for MCC DAQs
    • $ go get github.com/gotmc/mccdaq

Documentation

Documentation can be found at either:

Contributing

usb1608fsplus is developed using Scott Chacon's GitHub Flow. To contribute, fork usb1608fsplus, create a feature branch, and then submit a pull request. GitHub Flow is summarized as:

  • Anything in the master branch is deployable
  • To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
  • Commit to that branch locally and regularly push your work to the same named branch on the server
  • When you need feedback or help, or you think the branch is ready for merging, open a pull request.
  • After someone else has reviewed and signed off on the feature, you can merge it into master.
  • Once it is merged and pushed to master, you can and should deploy immediately.

Testing

Prior to submitting a pull request, please run:

$ gofmt
$ golint
$ go vet
$ go test

To update and view the test coverage report:

$ go test -coverprofile coverage.out
$ go tool cover -html coverage.out

License

usb1608fsplus is released under the MIT license. Please see the LICENSE.txt file for more information.

About

Example program using the MCC USB-1608FS-Plus to gather data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published