added ability to talk to an adruino
changed to comply with the new API