Setup formated print to com port. Need to fix casting