Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: MarkEngineer; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    4,796

    Re: HSEROUT with Timer2 Interrupt

    Finally found out the answer, needed to save and restore the Bank Select Register in the assembly interrupt routine.
    Upon entering the interrupt:
    ;save critical registers
    MOVFF STATUS,_SSAVE...
  2. Replies
    1
    Views
    4,796

    HSEROUT with Timer2 Interrupt

    I am using a PIC18F87K22 micro. I have timer2 setup with PR2 to generate an interrupt 250 times per second
    'setup timer2
    'Fosc/4 with prescaler=16 AND postscaler of 16 yields 62,500 Hz, count of...
Results 1 to 2 of 2