My schematic is very simple: basicly i'm powering the PIC and have a led on the load output, and connect my serial tx and rx to slaveIn and slaveOut.
When reading the code I would say that the slave forwards every command I send to it, so that shouldn't matter:
Code: Select all
SERIN2 SlaveBusIn, 16468, 5000, TimeOut, [Command] 'Receive Command Byte on Slave Data Bus Timeout 5s
if Command = 1 then
serout SlaveBusOut, T9600, [Command] 'Send Slave command at Baud9600 (SlaveBus) to next slave
Or am I missing something there? i'll check what i'm sending it tonight.