Need 4 modes with just 3 switches - need all modes to be selectable QUICKLY!


Results 1 to 40 of 68

Threaded View

  1. #30
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Also - just for the sake of other list members, you might want to just create a 2nd post, and leave whatever you had to change in the original.

    Just so folks can see where you made a mistake (if any), and learn from it. Rather than editing your previous post. I myself learn a lot from things that need to be changed to work properly, and it's a tad confusing for folks to follow-along if you edit a previous code example that needed changing.

    we were both wrong
    I don't think so. The 16F690 has different interrupt enable & flag bits for PORTA/PORTB interrupt-on-change.

    From DT_INTS-14;
    Code:
    #define RBC_INT      INTCON,RBIF,  INTCON,RBIE   ;-- RB Port Change
    These registers aren't available in the 16F690.

    These are;
    Code:
    #define RABC_INT     INTCON,RABIF, INTCON,RABIE  ;-- RAB Port Change     *
    Last edited by Bruce; - 7th August 2010 at 00:41.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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