Package hw
Class IO

Public Method getPWMOnOff

static boolean getPWMOnOff(byte pwmPin)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

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)