Change On Interrupt, PIC16F884


Results 1 to 18 of 18

Threaded View

  1. #7
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile Just an idea...

    Hi elec_mech,
    Posting code directly into the text portion of the forum makes it difficult to follow.
    Quote Originally Posted by Mister_e
    [code] paste your code here [/code]
    One step better but a lot more work:
    Quote Originally Posted by Darrel Taylor View Post
    Show us your Colors.
    Quote Originally Posted by elec_mech View Post
    define osc 8 ' tell the program the oscillator is running at 8 mhz
    Quote Originally Posted by PBP 2.50 manual
    4.16. DEFINE may be used to change the predefined oscillator value...
    These definitions must be in all upper case, exactly as shown.
    If not, the compiler may not recognize them.
    No error message will be produced for defines the compiler does not recognize.
    Code:
    DEFINE OSC 8
    -Adam-
    Last edited by Pic_User; - 13th November 2008 at 17:20. Reason: Changing formatting
    Ohm it's not just a good idea... it's the LAW !

Similar Threads

  1. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 19:53
  2. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  3. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 02:35
  4. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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