Hi, I think i know the answer to this one but i want to double check. Ive got PORTA.2 connected to a transistor but it never turns on. Im pretty sure my settings are correct.
Code:
'Chip settings
ADCON0=0
ADCON1=0
CMCON=7
CVRCON=0
CCP1CON=0
All special operations on that pin should be disabled. When i put my finger under the transistor the LEDs turn on so i know the transistor is working. When the PIC is connected they even flash. It seems like the PIC is turning that output on and off correctly but it doesnt actually go high. It seems to switch between low and floating.
Is the chip supposed to do this or is this one broken? Will it be fine to add something like a 100K pull up resistor? (I think that might solve this problem)
Bookmarks