12F683 Interrupts and PWM
Posted: Mon Feb 16, 2009 12:12 pm
Dear MM.
I have written a small program in FC3 and the target is the 12f683.
I am having problems configuring the ports on the chip. I cant seem to configure an Interrupt pin on any of the pins? I drag the interrupt across to the chart but it only gives me port RB0 which isn't listed on the chip diagram. Do I have to do some jiggery pokerie in a custom interrupt?
Also i the same program I am trying to output PWM on pin GP2 but am not sure how to do it.
If I compile and load onto a 16f877a it works perfectly.
If you could point me in the right direction it would be greatly appreciated.
Regards...Jules
I have written a small program in FC3 and the target is the 12f683.
I am having problems configuring the ports on the chip. I cant seem to configure an Interrupt pin on any of the pins? I drag the interrupt across to the chart but it only gives me port RB0 which isn't listed on the chip diagram. Do I have to do some jiggery pokerie in a custom interrupt?
Also i the same program I am trying to output PWM on pin GP2 but am not sure how to do it.
If I compile and load onto a 16f877a it works perfectly.
If you could point me in the right direction it would be greatly appreciated.
Regards...Jules