Sha256: 1a3a1cd3c12203a7b3dfa77d7ea5550268e35701ffe4a6a9be884265394820ef

Contents?: true

Size: 143 Bytes

Versions: 18

Compression:

Stored size: 143 Bytes

Contents

#!/usr/bin/ruby
require "rubygems"
require "serialport"

sp = SerialPort.new("/dev/tty.usbserial", "9600".to_i)
sp.read_timeout = 100
sp.close

Version data entries

18 entries across 18 versions & 6 rubygems

Version Path
serialport-1.3.2 test/set_readtimeout.rb
pserialport-1.3.2 test/set_readtimeout.rb
shellixyz-serialport-1.3.2 test/set_readtimeout.rb
monoxit-serialport-1.2.1.2 test/set_readtimeout.rb
aarontc-serialport-1.4.0 test/set_readtimeout.rb
serialport-1.3.1 test/set_readtimeout.rb
serialport-1.3.0 test/set_readtimeout.rb
monoxit-serialport-1.2.1.1 test/set_readtimeout.rb
serialport-1.2.3 test/set_readtimeout.rb
serialport-1.2.2 test/set_readtimeout.rb
serialport-1.2.1 test/set_readtimeout.rb
hybridgroup-serialport-1.2.1 test/set_readtimeout.rb
hybridgroup-serialport-1.2.0 test/set_readtimeout.rb
serialport-1.1.0 test/set_readtimeout.rb
serialport-1.0.3 test/set_readtimeout.rb
serialport-1.0.2 test/set_readtimeout.rb
serialport-1.0.1 test/set_readtimeout.rb
serialport-1.0.0 test/set_readtimeout.rb