shokai/arduino_firmata — pull request #30 by threez (2013-08-31 08:16:00+00:00)
Title: Removed EOFError

When the data can't be read an error is raised and an `EOFError` is returned as value. When i generate sysex on my arduino i get this then:

```ruby
sysex 54 ("2\x000\x006\x004\x00")
sysex 69 ("OFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFError62\x000\x006\x004\x00")
sysex 54 ("EOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFErrorEOFError2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
```

(It seems also to generate a strange sysex (sysex 69))

In order to get the correct result i had to remove the `EOFError`. Im not sure what it is used for. Because it is simply converted into a string. But really i want to wait until the rest of data is available. So when i remove the `EOFError` the sysex works properly:

```ruby
sysex 54 ("2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
sysex 54 ("2\x000\x006\x004\x00")
```