Voltage issue 16f627a


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Voltage issue 16f627a

    Your pivot1 routine "Falls Thru" to the pivot2 routine.
    So the pins will have a 50% dutycycle signal and your voltmeter is averaging them to read 2.7V.

    Just add a goto after pivot1.

    Quote Originally Posted by yasky1 View Post
    @ DEVICE pic16F627A, INTRC_OSC_NOCLKOUT

    start:

    if PORTA.0 = 0 then pivot1
    if PORTA.0 = 1 then pivot2

    pivot1: low 0
    low 1
    low 2
    low 3
    low 4
    low 5
    low 6
    goto start

    pivot2: low 0
    low 1
    low 2
    low 3
    low 4
    high 5
    high 6
    goto start:
    DT

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


    Did you find this post helpful? Yes | No

    Default Re: Voltage issue 16f627a



    "Mister E, You want to post less, think more"


    Going back to my batcave...ashamed...
    Steve

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

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