Packages

c

pi4j.component.servo.impl

PCA9685GpioServoDriver

class PCA9685GpioServoDriver extends ServoDriver

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PCA9685GpioServoDriver
  2. ServoDriver
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PCA9685GpioServoDriver(provider: PCA9685GpioProvider, pin: Pin)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getPin(): Pin
    Definition Classes
    PCA9685GpioServoDriverServoDriver
  10. def getProvider(): PCA9685GpioProvider
  11. def getServoPulseResolution(): Int

    This is read only value driver is to provide to users of this class.

    This is read only value driver is to provide to users of this class. It defines resolution #getServoPulseWidth() and #setServoPulseWidth(int) methods are operating in. Resolution is provided in 1/n (ms) where value returned from this method is n.

    returns

    resolution of servo pulse widths used in this interface

    Definition Classes
    PCA9685GpioServoDriverServoDriver
    Annotations
    @Override()
  12. def getServoPulseWidth(): Int

    This method returns current servo pulse width.

    This method returns current servo pulse width. Zero may represent this driver stopped producing pulses. Also, value of -1 may define undefined situation when this abstraction didn't get initial value yet and there is no way telling what real, hardware or software driver is sending.

    returns

    current servo pulse this driver is producing

    Definition Classes
    PCA9685GpioServoDriverServoDriver
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def setPin(pin: Pin): Unit
    Attributes
    protected[impl]
  19. def setProvider(provider: PCA9685GpioProvider): Unit
    Attributes
    protected[impl]
  20. def setServoPulseWidth(position: Int): Unit

    Sets servo pulse width in resolution provided by #getServoPulseResolution().

    Sets servo pulse width in resolution provided by #getServoPulseResolution(). Zero value may mean that this driver is currently not producing pulse. Negative values may, generally, be invalid.

    Definition Classes
    PCA9685GpioServoDriverServoDriver
    Annotations
    @Override()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def updateResolution(): Unit
    Attributes
    protected[impl]
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from ServoDriver

Inherited from AnyRef

Inherited from Any

Ungrouped