0-10v dc


Closed Thread
Results 1 to 25 of 25

Thread: 0-10v dc

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Naga the solution is under your eyes. With the present code you can press the switches for all your life but the duty cycle of your pwm out will remain always 25! Why we are making the variable VDuty moving from 0 to 255. Why I told you to change B0 to 25 if you want to scan the whole range with 10 steps ?

    Al.

  2. #2
    Join Date
    Sep 2006
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aratti View Post
    Naga the solution is under your eyes. With the present code you can press the switches for all your life but the duty cycle of your pwm out will remain always 25! Why we are making the variable VDuty moving from 0 to 255. Why I told you to change B0 to 25 if you want to scan the whole range with 10 steps ?

    Al.
    Hi all,So in my post #17, which Part of a statement that is not correct..Help.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Come on naga, are kidding us?

    Where in the
    Code:
    HPWM 1,25,1000 '4.00khz
    are setting the duty?

    Put the variable Vduty in the HPWM statement... (instead of number 25) like this:

    HPWM 1,Vduty,1000 '4.00khz

    Ioannis

Similar Threads

  1. DC to AC convertor
    By The Master in forum Off Topic
    Replies: 11
    Last Post: - 6th February 2010, 17:44
  2. Replies: 24
    Last Post: - 1st December 2009, 08:01
  3. from 5v dc to 1.00v dc precise vref 10mA ?
    By phoenix_1 in forum Schematics
    Replies: 10
    Last Post: - 28th July 2009, 08:11
  4. PIC data along dc line
    By sswcharlie in forum General
    Replies: 0
    Last Post: - 30th August 2008, 08:38
  5. H-Bridge control DC motor
    By Paul F in forum General
    Replies: 2
    Last Post: - 2nd March 2005, 21:04

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