I have 2 XBees. 1(#2) is connected rx/tx to my Mega1280 which is programmed to run a stepper motor cw and ccw. It also will run via cw pushbutton switch and ccw pushbutton switch. The program works very good.
I now hook up my other radio (#1) to 2 pushbutton switches and an FTDI USB for laptop control via serial.
Serial commands work correctly. Pushbuttons do not.
If this is unclear, please, let me know.
Does anyone know how to use switch inputs from #1 XBee to act as switch inputs actually attached to Mega? Or, perhaps, to send the same serial characters that Mega already responds to?