public interface PWMOutputController extends HardwareDevice
Different analog input controllers will implement this interface.
HardwareDevice.Manufacturer| Modifier and Type | Method and Description |
|---|---|
int |
getPulseWidthOutputTime(int port)
Gets the pulse width for the channel output in units of 1 microsecond.
|
int |
getPulseWidthPeriod(int port)
Gets the pulse repetition period for the channel output in units of 1 microsecond.
|
SerialNumber |
getSerialNumber()
Serial Number
|
void |
setPulseWidthOutputTime(int port,
int usDuration)
Set the pulse width output time for this channel.
|
void |
setPulseWidthPeriod(int port,
int usPeriod)
Set the pulse width output period.
|
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpModeSerialNumber getSerialNumber()
void setPulseWidthOutputTime(int port,
int usDuration)
port - port this device is attached tousDuration - pulse width for the port in microseconds.void setPulseWidthPeriod(int port,
int usPeriod)
port - port this device is attached tousPeriod - pulse repetition period in microseconds.int getPulseWidthOutputTime(int port)
port - port this device is attached toint getPulseWidthPeriod(int port)
port - port this device is attached to