hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports
http://rubygems.org/gems/serialport
GNU General Public License v2.0
246 stars 58 forks source link

data_bits = 9? 9N1 #63

Open beckmx opened 8 years ago

beckmx commented 8 years ago

Hello guys, I was trying to get the library load using 9 data bits but it prompts an error, any ideas?

sagax commented 8 years ago

show errors, please

beckmx commented 8 years ago

it just says, it cannot use 9 bits, and I am in the search for a 9 bit serial platform

sagax commented 8 years ago

i think, 9 bit it's not normal for com port. this module work with standart bit mode. if you want 9 bit, you need patch ruby-serialport