Maker Pro
Maker Pro

RS232 addressing

Hello,

I would like to know if anyone could get me started on a project for designing a circuit that will check the first byte sent over RS232 and if it matches a set of dip switches, it will passthrough the rest of the RS232 signal to another controller, otherwise it will passthrough nothing. Any advice would be greatly appreciated.

Thanks
Phil
 
Are your dip switches connected to certain port?
1.read the port status first.
2. Check the incomming byte from RS-232

using if condition or a while
eg

if(port_status==Incomming_byte)
{
pass to other controller;
}
else
{
do nothing;
}
 
Top