My suggestion...
Get rid of the shutter code stuff...
Make TMR1 work for you first! Make an LED blink at the rates you want according to how you set up the prescaler. That way you'll know the interrupt functions are functioning as they should...
Then start adding things for measuring time and running a shutter.
What about ADCON0?
Turn off the WDT
Bookmarks