-
Notifications
You must be signed in to change notification settings - Fork 8
pwm_software_mode
Anobium edited this page Oct 18, 2020
·
1 revision
Syntax:
PWMOut channel, duty cycle, cycles
Command Availability:
Available on all microcontrollers. This method does NOT require a PWM module within the microcontroller.
This command uses a software PWM routine within Great Cow BASIC to produce a PWM signal on the selected port of the chip.
The method PWMOut
does not make use of any special hardware within the
microcontroller. The PWM signal is generated only while the PWMOut
command is executing - therefore, when the PWMOut
is not executing by
moving onto the next command, the PWM signal will stop.
For more help, see PWMOut