My project is starting


Closed Thread
Results 1 to 40 of 92

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    EDIT: OOPS, you are correct, you would need IOC for portA ... Sorry...
    __________________________________________________ _______________
    RAC_INT is for portA.

    (from http://darreltaylor.com/DT_INTS-14/intro.html )
    RAC_INT -- RA Port Change (for port A)
    RBC_INT -- RB Port Change Interrupt (for port B)
    RABC_INT -- RAB Port Change (for port A or B)

    Here is a small example for RAC_INT , but it's just for a push button.

    http://www.picbasic.co.uk/forum/show...2818#post82818
    Last edited by ScaleRobotics; - 27th November 2010 at 16:53.
    http://www.scalerobotics.com

  2. #2
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    thats OK Walter, you had me thinking for the last hour or 2! (Now have to reset all the smoke alarms)

    But back to it, any thoughts on my timing? Anyone? My brain is still locked about this. I want to draw me some timing diagrams, but it seems I have become so dependent on puters, I don't have any suitable graph paper to do so with. I am somewhat of a stickler when it comes to these things.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Doin' what I can
    Attached Images Attached Images
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Inspired by Daves wonderful gift, I worked out some timing in my schmatic program (with snaps). It looks to me with 5uS interupts, I will not miss a single step. I will strech them sometimes and shrink them sometimes, but thats no problem. And I still have 40 instructions between interupts. Well prolly more like 30 when you account for the interupt handler itself.

    So I think I am off to the races now!!
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

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