Package hw
Class IO

Public Method getPWMCurrentPeriodResolution

static int getPWMCurrentPeriodResolution()

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Range Description
dutyCycleResolution 0 ... 100,000,000 current dury cycle resolution

This method returns the granularity of the currently adjusted PWM frequency. The returned value specifies the maximum granularity which could currently adjusted with the IO.setPWMDutyCycle(float, byte) method.

Example

  int res = IO.getPWMCurrentFrequencyResolution();

See also:

IO.getPWMCurrentDutyCycle(byte)
IO.getPWMCurrentDutyCycleResolution(byte)
IO.getPWMOnOff(byte)
IO.setPWMFrequency(int)
IO.setPWMDutyCycle(float, byte)
IO.getPWMOnOff(boolean, byte)