How can I measure Duty cycle ?


Results 1 to 21 of 21

Threaded View

  1. #11
    Join Date
    Nov 2006
    Location
    ist
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    Here simple "pulsin" code ,
    yes its not finish .Only run for test .

    'DEVICE 16F84A
    DEFINE OSC 10

    DEFINE LCD_DREG PORTB
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTB
    DEFINE LCD_RSBIT 3
    DEFINE LCD_EREG PORTB
    DEFINE LCD_EBIT 2
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2

    TEST1 VAR WORD

    PULSIN PORTA.0,1,TEST1
    Lcdout $fe, 1,"Puls :" ,#TEST1
    PAUSE 200


    lcd picture


    This is proteus circuit,
    Last edited by MaxiBoost; - 27th December 2006 at 19:38.

Similar Threads

  1. Replies: 9
    Last Post: - 8th October 2008, 11:15
  2. how to generate 83.33khz with 16.7% duty cycle?
    By donatelo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd September 2008, 17:08
  3. HPWM the old fashioned way
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 19th November 2004, 19:09
  4. PWM _ Duty Cycle in Tenths
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 17th May 2004, 12:09
  5. Duty Cycle Dilemmas
    By crankshaft in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th February 2003, 12:40

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