Nice! thats exactly what I was looking for. Cheers! On 8 June 2012 13:24, David Meiklejohn wrote: > Ben Barwise wrote: >> >> I am trying to do somthing really simple to learn interrupts on PICs >> using C but I cant seem to understand how to set bits to enable the >> interrupt. > > Try my tutorials at http://www.gooligum.com.au/tutorials.html > > Specifically for interrupts on mid-range PICs (such as the 12F683), see > http://www.gooligum.com.au/tutorials/midrange/PIC_Mid_C_3.pdf > > The 12F629 is used in the examples, but interrupts on the 12F683 are exac= tly > the same (the 12F683 just has more sources available). > > I'm in the process of updating my C tutorials to reference the new XC8 > compiler, instead of HI-TECH C, but it's just a new name for the same thi= ng, > so the lesson applies to either. > > > Good luck! > > David Meiklejohn > www.gooligum.com.au > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .