Hex writing #30

* Uncomment code for writing hex files
* Move commented test code for reading from an Arduino to a new
  method: tryToRead