Class Servo.Array

java.lang.Object
com.diozero.api.OutputDeviceCollection
com.diozero.devices.Servo.Array
All Implemented Interfaces:
OutputDeviceInterface, java.io.Closeable, java.lang.AutoCloseable
Enclosing class:
Servo

public static class Servo.Array
extends OutputDeviceCollection
implements java.io.Closeable
  • Constructor Summary

    Constructors 
    Constructor Description
    Array​(Servo... servos)  
  • Method Summary

    Modifier and Type Method Description
    void close()  

    Methods inherited from class com.diozero.api.OutputDeviceCollection

    getDevices, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable