I am attempting to make an adapter to read from old lab equipment. The data settings on the RS232 vary between equipment (7E2, 7E1, 8N1). The speed can be changed, but the other setting can't. I am using a RS232 to TTL adapter into a ProMicro to generate keystrokes. I planned to use Software Serial, but I don't see how to specify the fixed settings above. Anyone know where to point me?
You are probably better off using the hardware serial since those settings are easy to change, and are more reliable than the software serial. There's also a good chance that some of the combinations are not supported at all by software emulated UART
clevtool:
I am attempting to make an adapter to read from old lab equipment. The data settings on the RS232 vary between equipment (7E2, 7E1, 8N1). The speed can be changed, but the other setting can't. I am using a RS232 to TTL adapter into a ProMicro to generate keystrokes. I planned to use Software Serial, but I don't see how to specify the fixed settings above. Anyone know where to point me?
Thanks,
Mike
Since you are only reading the data, the number of stop bits can be ignored. They are only critical for transmitting data.
Paul