PDA

View Full Version : Need advice on config: PIC12F675 timer1 interrupt @overflow - GPIO.4 GPIO.5 no output



dw_picbasic
- 28th February 2012, 22:33
Hi All,
I know there are some on the forum here who are supper familiar with the 12F675.
This is my first attempt at using it with timer1 interrupt on overflow.

I got the interrupt working just fine, but then found that GPIO.4 and GPIO.5 will not go HIGH when commanded to.
I suspect somehow, I've got the configuration settings such that I might have interrupt-on-external-pin somehow set without knowing it.
I've looked at the data-sheet and am uncertain as to what the config should be in order to have the interrupt on overflow, without interrupt on external pin.
Ofcourse I have (A/D = 0 = off) and (Comparator = 7 = off), so I don't think that is interfering.

Does anyone have sample config commands for setting up timer1 for interrupt on overflow?
I'm hoping to use GPIO.3 as input and all other pins as output.

Thanks!!!!

Acetronics2
- 29th February 2012, 09:37
Hi,

IF you want some support ... you HAVE to provide your full code.

Lester does not furnish any more the crystal balls ... :star:

Alain