me again


Results 1 to 6 of 6

Thread: me again

Threaded View

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


    Did you find this post helpful? Yes | No

    Default


    Code:
    HPWM 1, 25, 200 'Channel1, duty cycle%, 2kHz
    try with
    Code:
    HPWM 1, 25, 2000 'Channel1, duty cycle%, 2kHz
    Code:
            @  __CONFIG _XT_OSC & _LVP_OFF
    
    PORTC=0
    TRISC=0
    
    duty var byte
    DEFINE HPWM2_TMR 2
    
    Start:
        for duty =0 to 255
            hpwm 1,(255-DUTY),2000
            hpwm 2,DUTY,2000
            pause 10
            next
        goto start
    Last edited by mister_e; - 1st March 2007 at 17:59.
    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