austinbv / dino

Dino is a ruby gem that helps you bootstrap prototyping with an Arduino
MIT License
388 stars 84 forks source link

fixed bug Dino::TxRx::Base#gets on Windows 8.1/ruby 2.0.0p353 #71

Closed takaokouji closed 9 years ago

takaokouji commented 10 years ago

SerialPort#gets does not work on Windows 8.1/ruby 2.0.0p353. So I modified using SerialPort#read_timeout and SerialPort#getbyte in Dino::TxRx::Base#gets.

vickash commented 10 years ago

Thanks. I didn't think to try working around #gets. Does this work reliably for you though? I'm testing it on windows 7 and, for example, I don't get some of the readings back when running the sensor example.

vickash commented 9 years ago

Closing this since we moved to rubyserial.