??? 03/10/08 06:52 Read: times |
#152052 - Almost certainly not! Responding to: ???'s previous message |
Alan Dorman said:
The RS232 port is being used to communicate with a small thermal printer at 9600 baud. Does the printer ever transmit back to the CPU? Would it work if I tied these same TX and RX lines... You can drive multiple inputs from one output - so the MCU's Tx could drive the Rx for both the LCD and printer - but you cannot just short two outputs together to drive a single input! Would the printer's RS232 see a higher baud rate and ignore it and would the LCD see a lower baud rate and ignore it? Almost certainly not! They would almost certainly see the wrong baud rate as junk - just as if you set hypoterminal to the wrong baud rate. Any suggestions? You need more pins! Either to control a multiplexer, or as a soft-UART, or an I2C-connected UART, or other such options that have been discussed before! I would hate to put in a mechanical switch to select between the printer and the LCD display. |