Sha256: 5915864d2c8aa0b0c78ab6f3da0e70f7c38f84b7ae1fd7119cbb91891383cf6d
Contents?: true
Size: 790 Bytes
Versions: 1
Compression:
Stored size: 790 Bytes
Contents
# Myo Connect to Myo armband in Ruby ## Installation Add this line to your application's Gemfile: ```ruby gem 'myo' ``` And then execute: $ bundle Or install it yourself as: $ gem install myo-ruby ## Example You should start __Myo Connect.app__ first. ```ruby Myo.connect do |myo| myo.on :connected do puts "Myo connected!" end myo.on :pose do |m, pose, edge| puts "#{pose}: #{edge}" end myo.on :periodic do |m, orientation| puts orientation.accel.x end end ``` ## Contributing 1. Fork it ( https://github.com/uetchy/myo.rb/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myo-ruby-0.1.0 | README.md |