Sha256: 26508993700b618c5c32d7deb484f5b5b6b321fc43432513c384f9e8835a1758

Contents?: true

Size: 275 Bytes

Versions: 5

Compression:

Stored size: 275 Bytes

Contents

#!/usr/bin/env ruby
require "rubygems"
require "bundler/setup"
Bundler.require(:default, :development)

require "surface_master"

SurfaceMaster.init!
device = SurfaceMaster::Orbit::Device.new
loop do
  device.read.each do |input|
    puts input.inspect
  end
  sleep 0.1
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
surface_master-0.6.0 examples/orbit_device.rb
surface_master-0.5.1 examples/orbit_device.rb
surface_master-0.5.0 examples/orbit_device.rb
surface_master-0.4.1 examples/orbit_device.rb
surface_master-0.4.0 examples/orbit_device.rb