PORTA output problem

skyrock

New Member
Hello all,

I'm facing a problem which PORTA is not working properly. Can anyone tell me if PORTA,4 would work as output if I have an external crystal and TMR1 working?

I've made TRISA b'00001111', I suppose I would still be able to use RA4 as output? But still there isn't any voltage coming out from RA4 after I turned it on. RA6,7 is used for external crystal.

I've uploaded the full code if anyone wants to check it out.
 

Attachments

Cookies are required to use this site. You must accept them to continue using the site. Learn more…