Implementation of the firmata wire protocol