Description:
| Parameter | Range | Description |
|---|---|---|
| pwmPin | IO.PWM_0 ... IO.PWM_5 | pwm pin |
This method returns true if the PWM is turned on. Otherwise it returns false.
| Returns | Range | Description |
|---|---|---|
| onOff | ture, false | for the specified PWM pin |
Note
Example
boolean bl = IO.getPWMOnOff(IO.PWM_3);
See also:
IO.getPWMCurrentDutyCycle(byte)
IO.getPWMCurrentDutyCycleResolution()
IO.getPWMCurrentPeriodResolution()
IO.setPWMFrequency(int)
IO.setPWMDutyCycle(float, byte)
IO.setPWMOnOff(boolean, byte)
Copyright © demmel products gmbh. All rights reserved.