initial version based on firmata/arduino dev branch - may not be functional