Has anyone made additions to DT_INTS-14?


Closed Thread
Results 1 to 6 of 6
  1. #1

    Unhappy Has anyone made additions to DT_INTS-14?

    I'm using the PIC16F1788 for a project and due to the fact that interrupt-on-change doesn't conform to the parameters in Darrel's wondercode, I need to add some new interrupts and constants to its list.

    Has anyone successfully done this (added interrupts for other chips)? I've added what I think is needed, but am getting errors at compile time.

    Thanks,

    Picster

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,551


    Did you find this post helpful? Yes | No

    Default Re: Has anyone made additions to DT_INTS-14?

    Have you read this post?

    http://www.picbasic.co.uk/forum/show...273#post130273


    The sources are now available on archive in post 1 of that thread:

    http://www.picbasic.co.uk/forum/show...270#post130270

    Robert

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,551


    Did you find this post helpful? Yes | No

    Default Re: Has anyone made additions to DT_INTS-14?

    From the link to DT_INTS-14 in post 1 of that thread:

    NEW! Updated version 1.10, now works with 16F1xxx Enhanced Core PIC's.
    MPASM Required!
    New in Version 1.00

    GPC_INT -- GPIO Int On Change
    IOC_INT -- Int On Change
    RAC_INT -- RA Port Change
    RABC_INT -- RAB Port Change
    T1GATE_INT -- Timer1 Gate
    TMR4_INT -- TMR4 - PR4 Match
    TMR6_INT -- TMR6 - PR6 Match
    SSP1_INT -- (M)SSP module 1
    BUS1_INT -- Bus Collision 1
    SSP2_INT -- (M)SSP module 2
    BUS2_INT -- Bus Collision 2
    CCP3_INT -- CCP3
    CCP4_INT -- CCP4
    CCP5_INT -- CCP5
    CMP1_INT -- Comparator 1
    CMP2_INT -- Comparator 2
    OSCF_INT -- Oscillator Fail
    LVD_INT -- Low-Voltage Detect
    LCD_INT -- LCD controller
    CRYPT_INT -- KeeLoq Cryptographic
    USB_INT -- USB 16C745/765 only
    ALL_INT -- Global Interrupts
    Not as dumb as yesterday, but stupider than tomorrow!

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Has anyone made additions to DT_INTS-14?

    Thanks Robert,

    I had seen that (but bookmarked it again just in case). What a wealth of information there - great to have all in one place, I'm sure I'm one of many who appreciate your effort toward that.

    When I look at the chip specs for IOC_INT for the 16F1788, it's a bit different with positive and negative edge registers. So I should just set those in my program prior to the include and rely on the standard IOC_INT routine in Darrel's code "as is" to manage and reset the flags, correct?

    Thanks again...

    picster

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,551


    Did you find this post helpful? Yes | No

    Default Re: Has anyone made additions to DT_INTS-14?

    I honestly couldn't tell you, never played with those 16F1xxx PICs. But that's why I quoted Darrel saying his routine was modified to support those PICs.

    Best I can say is give it a try, monitor your PIC, use LEDs to tell you how it reacts on the interrupt.

    Robert

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Has anyone made additions to DT_INTS-14?

    Yup, worked!! I had to configure the edge trigger bit and then I reset the port's IOC bit flag for "safety" sake in the interrupt routine...

    Thanks again

Similar Threads

  1. Home made PCB's
    By Smart in forum Off Topic
    Replies: 22
    Last Post: - 23rd October 2010, 19:02
  2. Home made optical rencoder issues
    By Elnino in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th November 2009, 23:17
  3. I've made keyboard with pic, but i have a problem.
    By XErTuX in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th November 2008, 01:40
  4. Made Hall Sensor (magnet peek up )
    By jetpr in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st January 2005, 02:23
  5. How made a webserver wit a pic
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th September 2004, 05:55

Members who have read this thread : 1

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