12f683 comparator and pwm


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    and
    Code:
    SURCHARGE var CMCON0.6
    INVERSE_COMP var CMCON0.4
    Those above create aliases to the CMCON0 bits you want to monitor or write to.

    Bonne chance!
    Last edited by mister_e; - 23rd May 2007 at 18:41.
    Steve

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

  2. #2
    Join Date
    Sep 2004
    Location
    Les Angles (FRANCE)
    Posts
    18


    Did you find this post helpful? Yes | No

    Thumbs down ooooooops !!

    Thanks for your help!

    I really do a big mistake!!
    I wrote :

    ' gpio.4 ==> entrée tension de réglage vitesse

    so i do use ADCIN 3 and not ADCIN 0

    Now my PWM works and i'm going to test my current detector.

    see you later!
    Jean-François

    F4CDH

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