Configuring 16F616

THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at

+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    Default Configuring 16F616

    First time using a 16F616 and learning there is some different terminology compared to the 16F876A I am used to working with. Can someone confirm this is all correct for listed input and outputs?

    INTCON.7 = 0
    Ansel = 0

    A0=No Connection
    A1=Output to LED
    A2=Output to LED
    A3=Pulsin from outside source
    A4/A5= HS OSC

    C0-3=BCD....learned about PortA weak pull-ups after building board
    C4-5=Outputs to control digital pot.

    I have 10k resisitors pulling up C0-3. However C2 is pulled low, either config is still wrong or the board is bad.

  2. #2
    Join Date
    Sep 2004
    montreal, canada

    Did you find this post helpful? Yes | No


    In theory it should work, in practice I may have missed something in the datasheet. Comparator are disabled at POR, PWM is disabled and you have disabled the ADC.. what else?

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

Similar Threads

  1. 16F616 A to D
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st May 2009, 16:37
  2. Configuring Defines For 8-bit LCD
    By lerameur in forum mel PIC BASIC Pro
    Replies: 24
    Last Post: - 1st November 2006, 09:59
  3. Configuring register problem
    By shawn in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd January 2005, 20:03
  4. configuring the internal oscillator
    By bartman in forum General
    Replies: 12
    Last Post: - 30th November 2004, 00:41
  5. need help configuring 16F628
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd March 2004, 18:59

Posting Permissions

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