16f84a running interrupt PICBASIC code


Results 1 to 19 of 19

Threaded View

  1. #1
    Join Date
    Jul 2008
    Posts
    7

    Default 16f84a running interrupt PICBASIC code

    Please see the attached code.

    It has two parts, one to vary the content of a variable using a single button and second an interrupt run to output RB0 based on the variable content.

    When it is simed on MPLAB, it is quite OK. But when it is run on the chip, it does not work.
    (with WDT switched off)
    However the two parts when compiled as separate files to check the code, they function well on the chip.

    Please help me solve the prob

    Thanks
    Attached Files Attached Files
    Last edited by divaker; - 22nd July 2008 at 15:10. Reason: let me attch the code in text

Similar Threads

  1. Code works on 16F84A but not on 16F88?
    By pharaohamps in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th November 2009, 18:29
  2. Help with Analog Interrupt
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 18:14
  3. 16F876A CCP1 Capture/Interrupt Question
    By TDonBass in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th January 2008, 03:25
  4. PicBasic code problems with a 16F84A
    By Lauren Barta in forum mel PIC BASIC
    Replies: 3
    Last Post: - 30th May 2006, 22:50
  5. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts