Bob Blick wrote: > > At 04:41 AM 8/19/97 -0800, you wrote: > >> 1) How few pins can I get away with? > > > > For example: > > > > Your Master PIC controls the Slave PIC's MCLR line. The Master > > normally keeps the Slave's MCLR line high (out of reset). When > > the Master wants to send a message, it pulls the Slave's MCLR > > line low, then pulls it high for a short time before pulling it > > low, then high again. > > > > The "message" is the time between MCLR-low pulses. > > OK, that's got me interested.. the SLAVE's second job out of reset is to > increment a register, so that next time it comes out of reset, the first > job it has is testing that same register for the message sent to it... So > far so good. What's the approved method of determining if it's a valid > message, or just random powerup garbage? I'm interested too! How do you insure that the register does not get corrupted? Do you save it in EEPROM? -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za ________________________________________________________ | WASP International http://wasp.co.za | | R&D Engineer : GSM peripheral services development | |Vehicle tracking | Telemetry systems | GSM data transfer| |Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26010.52'S 28006.19'E | |________________________________________________________|