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

PurgeComm #18

Open adite opened 14 years ago

adite commented 14 years ago

Method for clearing the Rx/Tx buffers whould be nice (see PurgeComm() on windows).

hparra commented 14 years ago

I'm actually surprised it doesn't have it already. Will check.

kimhmadsen commented 9 years ago

This seems to have been added in v1.3.0 via flush_input and flush_output. I think the issue can be closed.