Module: UART
- Defined in:
- lib/mruby/uart/serialport/uart_serialport.rb,
lib/mruby/uart/serialport/version.rb
Overview
UART namespace
Defined Under Namespace
Classes: GemSerialport
Constant Summary collapse
- VERSION =
"1.0.0"- NONE =
Constants
0- ODD =
1- EVEN =
2- RTSCTS =
4
Class Method Summary collapse
Class Method Details
.new(node = nil, baudrate: 9600, baud: nil, data_bits: 8, stop_bits: 1, parity: NONE, flow_control: NONE, unit: nil) ⇒ Object
constructor
30 31 32 33 34 |
# File 'lib/mruby/uart/serialport/uart_serialport.rb', line 30 def self.new( node=nil, baudrate:9600, baud:nil, data_bits:8, stop_bits:1, parity:NONE, flow_control:NONE, unit:nil ) UART::GemSerialport.new( node, baudrate, baud, data_bits, stop_bits, parity, flow_control, unit ) end |