16f677a to 12f683


Results 1 to 8 of 8

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ChrisHelvey View Post
    How does one come to the conclusion that CMCON = 7?
    Am I correct in saying that the reason it is seven is because there are only the last three bits in the CMCON register that sets this? Looking at the data sheet I see:
    7 6 5 4 3 2 1 0
    19h CMCON0 — COUT — CINV CIS CM2 CM1 CM0
    YEP,
    %00000111 = 7 or I believe $07, I'm not real good with hex.
    Actually, a better question for me is:
    is CMCON a common "register" in all the PICs that have comparators?
    Very likely, but I would never accuse all PICs of being the same about anything. The data sheet is your friend
    JS
    Last edited by Archangel; - 25th July 2007 at 06:19.
    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.

Similar Threads

  1. 12F683 2 x PWM Outputs
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 23rd July 2021, 20:20
  2. 12F683 - Pin1 not working
    By ruijc in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th February 2014, 17:38
  3. New project help rapidfire on 12f683
    By thm ov3rkill in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 27th December 2008, 19:59
  4. 12F683 Programmer
    By Red_Stafford in forum Schematics
    Replies: 9
    Last Post: - 2nd October 2008, 21:44
  5. 12F683 HPWM Usage
    By MARAD75 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th November 2007, 02:16

Members who have read this thread : 1

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