Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    Thanks,

    See told you it would be something really simple I missed..

    Code:
    doBAM:
       toggle rs_led
       TMR0 =  158     ' reload the pre-load
       @ INT_RETURN
    (Hey Darrel - how do you get your code blocks so colourful and properly indented ?)

    bill.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bcd View Post
    (Hey Darrel - how do you get your code blocks so colourful and properly indented ?)
    bill.
    http://www.picbasic.co.uk/forum/showthread.php?t=6221

    The page may take awhile to load.....

  3. #3
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Turn Interrupt on/off

    Hello;
    I'm Ryan form the Philippines I must admit DTS-14 ints rules!!! i'd like to know how can i turn the interrupt on and off for USART continues recepton I'm using PIC16f877a toggling register PIE.5 doesn't seem to work

    Thanks

    PS.

    Part of my project i'm paying my tuition continue college again OSY for sometime now hehe (",)

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Check out this post, esp. post 5, http://www.picbasic.co.uk/forum/showthread.php?t=3251
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    you can use
    @ INT_ENABLE RX_INT

    and

    @ INT_DISABLE RX_INT
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Wink fixed it

    ahhh thanks guys

    fixed it toggling both
    ' CREN = 0
    ' SPEN = 0

    I didn't bother with the interrupts just disabled the Port input thanks I appreciate it!!!

  7. #7
    Join Date
    Dec 2007
    Location
    Cd. Juarez, Mexico
    Posts
    8


    Did you find this post helpful? Yes | No

    Default

    Hi Darrell, I tried to use your great rutines without any luck. I'm using a 18F248 sending CAN messages and I want to use a timer interrupt to send it.
    Just to test the rutines I tried to compile the example you post for timer interrupt and DT_INTS-18.bas rutines. But I got some errors on the compilation. Attached you will find a screen shot of what i'm talking about. If anybody can tell me what I'm doing wrong, it will be a great help for me.

    Thanks in advance for all yor help

    Alfredo
    Attached Images Attached Images  

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 8

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

Tags for this Thread

Posting Permissions

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