All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.fly.FlyLink
java.lang.Object
   |
   +----kh.hc11.McuLink
           |
           +----kh.fly.FlyLink

  Summary

public class  FlyLink
     extends kh.hc11.McuLink
{
          // Constructors 2
     public FlyLink();
     public FlyLink(SerialPort) throws IOException, InterruptedException;

          // Methods 5
     public void OCDutyCycle(int, int, int) throws IOException;
     public int getAtoD(int, int) throws IOException;
     public NamedValueSet getInputs();
     public float getServo(int) throws IOException;
     public void setServo(int, float) throws IOException;
}


  Cross Reference

Returned By:
Fly.getLink()





  Constructors

· FlyLink

Summary  |  Top
   public FlyLink() 


· FlyLink

Summary  |  Top
   public FlyLink(SerialPort port)  throws IOException, InterruptedException


  Methods

· OCDutyCycle

Summary  |  Top
   public void OCDutyCycle(int channel, 
                           int usecOn, 
                           int usecOff)  throws IOException


· getAtoD

Summary  |  Top
   public int getAtoD(int unit, 
                      int channel)  throws IOException

Return the analog 12 bit input which is on LTC1296 unit # and channel # on that 1296.



· getInputs

Summary  |  Top
   public NamedValueSet getInputs() 


· getServo

Summary  |  Top
   public float getServo(int channel)  throws IOException

Returns the current servo reading - 0.0 is min, 1.0 is max



· setServo

Summary  |  Top
   public void setServo(int channel, 
                        float value)  throws IOException

Sets a new servo reading

Parameter Description
value 0.0 is the min value, 1.0 is the max value



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7