Thread: PIC16F73 - Timer0 Interrupt

  1. #1
    Registered User
    Join Date
    Sep 2015
    Posts
    5

    PIC16F73 - Timer0 Interrupt

    Hi Guys,

    Need some more help on interrupts, im trying to use the timer0 stack overflow as an interrupt. I've got the interruprt working without any errors. However i want to make 'PORTA=0xFF' during the interrupt function, but this doesnt seem to work and PORTA does not update.

    I've attached my code.

    Thanks,
    Ash
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Feb 2012
    Posts
    347
    Have you configured port A as output?

  3. #3
    Registered User
    Join Date
    Sep 2015
    Posts
    5
    Yeah, I set "TRISA=0B00000000;"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PIC16F73 - RB Port Change Interrupt
    By Sadlercomfort in forum C Programming
    Replies: 3
    Last Post: 09-11-2015, 08:41 AM
  2. Timer0 RTC
    By Alex Margetts in forum C Programming
    Replies: 0
    Last Post: 03-15-2014, 11:29 AM
  3. ASM interrupt and others
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 06-08-2002, 07:18 PM
  4. interrupt
    By juandy in forum C++ Programming
    Replies: 4
    Last Post: 05-21-2002, 08:24 AM
  5. Interrupt???
    By GiSH in forum C++ Programming
    Replies: 1
    Last Post: 11-15-2001, 12:27 PM