PWM Question
Posted: 24 April 2007, 7:06 AM
I tried running the example in the ZBASIC manual for the PWM function. After verifying that the pulse train should drive a servo, I ran the program, but got no response from the servo. I changed the duty cycle parameter from a Single to an Integer, using the same percent values, and the servo worked fine.
Has anyone else run into this? Is there additional setup required when using the PWM(Byte, Single) overload of the function?
Thanks,
Rich
Has anyone else run into this? Is there additional setup required when using the PWM(Byte, Single) overload of the function?
Thanks,
Rich