communicate via pointer to serial port