Jinx wrote: > > Some good points Roman. You know what battery-powered > electric motor circuits can be like - crap everywhere. And this > is a particularly noisy motor too > > I've added a 470R series resistor into AN0 and a 1N5819 + > 10n from AN0 to ground and it's at least stopped latching, Whoops! I forgot to mention that you won't need that expensive schottky diode if you use a bigger cap like 330n etc. Even 470ohm and 330n will respond within 100uS or so. :o) -Roman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body