Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   In PBASIC, PWM vs PULSOUT (http://www.chiefdelphi.com/forums/showthread.php?t=39053)

sanddrag 22-07-2005 21:15

In PBASIC, PWM vs PULSOUT
 
In PBASIC, what is the difference between PWM and PULSOUT? Which is better to use for sending signals to a speed control? If you use PWM, do you have to put a pause and a loop like when you use PULSOUT?

Joe Johnson 23-07-2005 08:20

Re: In PBASIC, PWM vs PULSOUT
 
Going from memory...


PWM gives a continuous set of pulses that AVERAGE the duty cycle set in the command.

PulseOut gives a single pulse of the length set in the command.

I do no think PWM will to do a good job for generating a hobbyist RC signal.

Joe J.


All times are GMT -5. The time now is 04:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi