Sha256: 97a1da429ebb50a6ca3d77d819841bdcbfde329a29d2127197ee59b1d424cda4
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
#!/usr/bin/env ruby begin require 'rubygems' gem 'ruby-xbee' rescue LoadError => e load_path_addition = File.dirname(File.dirname(__FILE__)) + "/lib" puts "Falling back to extended load path #{load_path_addition}" $: << load_path_addition end require 'ruby_xbee' @xbee_usbdev_str = case ARGV[0] when "cable" "/dev/tty.usbserial-A101KYF6" else "/dev/tty.usbserial-A101KYF6" end # default baud - this can be overridden on the command line @xbee_baud = 9600 # serial framing @data_bits = 8 @stop_bits = 1 @parity = 0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-xbee-1.2.1 | bin/ruby-xbee.rb |