Got it fixed. Something you said gave me the idea to look more at my timing of things. Then I got the idea that maybe the slave is not fast enough putting the _busy signal to low (showing busy) that would have the Master wait. So I just added the pause below and it worked. Thanks for bouncing the ball with me. Here is the pause I added to my MASTER program. Clamp = 1 'Master signals Slave to turn ON pause 100 ' pause allows slave to turn _done to low showing busy While Clamp_done = 0 'Wait till Slave signals that its done then continue Wend It usually is something this simple that can stump me, must be getting old....ha. Thanks Again Wrong Way Ray (Ray Choat) ----- Original Message ----- From: "Bob Barr" To: Sent: Monday, August 20, 2001 8:39 AM Subject: Re: [PIC]: ===== >B to C > Raymond Choat wrote: > > > >I have already tested the slave boards using a switch on input and an led > >on > >the output. Seems to work perfect. So I am 98% sure its in the MASTER or > >Master Program. When the Master and Slave is hooked together and tested I > >get correct signals also but the Master still does not "Pause" till _done > >signal is recieved from slave. I have never had something so simple be > >sooooo hard. > >Wrong Way Ray (Ray Choat) > > > > Don't be so convinced that you're doing something so simple that it just > *has* to work. > > In theory, you are, indeed, performing a simple task. > > Back in the real world, however, getting 2 microprocessors (each running > their separate programs at multi-megahertz rates) is not necessarily all > that simple. > > Unless you can flip your switch in microseconds and see the LED light in the > same microsecond kind of time frame, your manual test isn't doing anything > close (speedwise) to what your master micro is doing. Your test may be > comforting but its results are not a reflection of the 'real world' in which > your system is operating. > > Getting a reliable command/response handshake going between your master and > its slaves will go a long way toward resolving your problem. > > Regards, Bob > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads