Modified serial communication related code

Minor update.
Delete unused code, change baud rate, modify opengl coordinate value