README.md in arduino_firmata-0.2.6 vs README.md in arduino_firmata-0.2.7
- old
+ new
@@ -14,11 +14,11 @@
Requirements
------------
* Ruby 1.8.7 or 1.9.2 or 1.9.3 or 2.0.0
* Arduino (http://arduino.cc)
- * testing with Arduino Duemillanove, UNO, Micro, Seeduino v2.
+ * testing with Arduino Duemillanove, UNO, Leonardo, Micro, Seeduino v2.
* Arduino Standard Firmata v2.2
* Arduino IDE -> [File] -> [Examples] -> [Firmata] -> [StandardFirmata]
ArduinoFirmata Command
@@ -44,9 +44,10 @@
arduino = ArduinoFirmata.connect # use default arduino
arduino = ArduinoFirmata.connect '/dev/tty.usb-device-name'
arduino = ArduinoFirmata.connect '/dev/tty.usb-device-name', :bps => 57600
arduino = ArduinoFirmata.connect '/dev/tty.usb-device-name', :nonblock_io => true
+arduino = ArduinoFirmata.connect '/dev/tty.usb-device-name', :eventmachine => true
```
Board Version
```ruby
puts "firmata version #{arduino.version}"
\ No newline at end of file