Terminal for serial comunication