Implement console output by serial