Yay!
Well, stick with what works for you then.
Cheers.
Yay!
Well, stick with what works for you then.
Cheers.
DT
Thanks Darrel. I would have preferred your approach as its the more elegant solution, but oh well ...
(One last somewhat general question)
If I'm using an external 20Mhz oscillator connected to the CLKIN/CLKOUT pins (RA5 & RA4, respectively) should I set their TRISA value to 1? Right now I have this:
Should that be:Code:TRISA = %00000011 ' Make PortA pins 0-1 input for rotary encoder
Code:TRISA = %00011011 ' Make PortA pins 0-1 input for rotary encoder, 4-5 for external oscillator
Bookmarks