Interrupt coding format with CCS C for PIC16F887A

Discussion in 'The Projects Forum' started by burrosheeed, Jun 2, 2013.

  1. burrosheeed

    Thread Starter New Member

    May 12, 2013
    8
    0
    Good morning Pals, I'm just learning timer and interrupt, but I'm seriously finding it difficult to comprehend d right format. All d practice I've done end up not working.

    Please, help me out with simple explanation and syntax to use a timer or/and interrupt. Thanks.
     
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,392
    1,605
  3. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    Hi,

    I have used CCS but can't remember the exact syntax right now.

    This is the reference manual for CCS:

    http://www-pagines.fib.upc.es/~sdmi/pdfs/Manual_CCS.pdf


    Remember that you must enable the particular interrupt of interest and also enable the global interrupt control bit.
     
Loading...