added more debug to the arduino driver