shokai/arduino_firmata — pull request #31 by threez (2013-09-06 14:23:20+00:00)
Title: Fix problem where write would block (with event machine)

When i try to connect to the arduino on linux i get a:

```ruby
lib/arduino_firmata/arduino.rb:169: in `write_nonblock':
Resource temporarily unavailable - write would block (Errno::EAGAIN)
```

This fix retries sending with a little delay, until the device is ready for sending.