Jul 10, 2016·4 min read. Photo by ... Tell the Arduino each instruction in Ruby using a gem. ... Luckily, there is already a serial port Ruby gem called…you guessed it, SerialPort! ... while (Serial.available() > 0) { // check if serial port has data
ruby read data from serial port
939c2ea5af
Comments