public example from Adafruit_BBIO Serial port