Raymond Choat wrote: > >Ok I am sending an on/off signal from a 16f876 Port C.2 to a 16f877 Port >B.2 and my master program does not see it. The slave pic boards have been >tested and work. Here is program I am using in MASTER Pic. What is to >happen >is Master signals Slave to run and Slave then signals Master when its done. >Then Master goes to next section of code to run next Slave but not before >last slave signals done. > >This program will cycle through everypart turning everything on and off but >never waits for slave pics to signal its done. It just continues and runs >all six sections. So for some reason it looks like the Master is not seeing >the slave saying when its done. Where did I go wrong? >Could something in my Epic programmer be set wrong? My wiring is like so. > Depending on what your slaves are doing, I have to wonder what their 'finish' state is and how quickly they can respond to the next 'go' command. You may need a simple handshake between your main and slaves to ensure that each slave starts and *then* gives a valid 'done' response. If you issue the 'go', wait for 'not done', and then wait for the 'done' response, main will be able to check that each slave actually runs its process. Your main code may be proceeding on invalid 'done' signals. Regards, Bob _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu