Method: OpenC3::SerialInterface#connect
- Defined in:
- lib/openc3/interfaces/serial_interface.rb
#connect ⇒ Object
Creates a new OpenC3::SerialStream using the parameters passed in the constructor
69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/openc3/interfaces/serial_interface.rb', line 69 def connect @stream = SerialStream.new( @write_port_name, @read_port_name, @baud_rate, @parity, @stop_bits, @write_timeout, @read_timeout, @flow_control, @data_bits ) super() end |