PLUS+1 Hardware > Controllers
Output Frequency
(1/1)
dlewis:
I have a customer that would like a variable output frequency from the Plus+1. Can this be done on a PWM pin? I know I can change the frequency on a pin as a constant, but can I do it dynamically while the program is running?
tronelec:
set a digital output and switch it with a variable timer
dlewis:
That will work well as long as the required frequency is below the loop time of the program but not when I'm up in the 4000 Hz range.
SJ Industries:
I have done it with a PWM output as an experiment. It does work, but every time the frequency is changed the output is turned off momentarily. It is not a smooth change.
dlewis:
Thanks, that's enough to tell me what I need to know.
Navigation
[0] Message Index
Go to full version