Roy, This is a very fast toggle rate. Since RA4 needs a pullup, you will need one of relatively low resistance to drive the line up this quickly. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: "Andrew E. Kalman" To: Sent: Friday, June 29, 2001 1:21 PM Subject: Re: [PIC]: 16c73 RA4 as I/O will not work > Hi Roy. > > Here's your problem: > > > char TogelBit; > > You misspelled Toggle! ;-) > > Seriously, though, simplify your code on the way to a solution. Use > this instead: > > void main() > { > /* initialization code */ > > while (1) > { > PORTA ^= 0x10; > } > } > -- > > ______________________________________ > Andrew E. Kalman, Ph.D. aek@pumpkininc.com > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body