trait ServoDriver extends AnyRef
This interface represents a driver hardware to produce pulses needed for driving a servo.
- Alphabetic
 - By Inheritance
 
- ServoDriver
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Abstract Value Members
-  abstract def getPin(): Pin
 -   abstract  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
 -   abstract  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
 -   abstract  def setServoPulseWidth(width: 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.- width
 pulse width in resolution read from
#getServoPulseResolution()
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 
Deprecated Value Members
-    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
 - Deprecated