BowlerKernel
|
Public Member Functions | |
DyIOChannel | getChannel () |
DyIOChannelMode | getMode () |
int | getValue () |
boolean | setMode (DyIOChannelMode mode, boolean async) |
boolean | setValue (int value) |
boolean | setValue (ByteList value) |
The Interface IDyIOChannel.
Definition at line 23 of file IDyIOChannel.java.
DyIOChannel com.neuronrobotics.sdk.dyio.IDyIOChannel.getChannel | ( | ) |
This method returns the channel object when requested.
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.
DyIOChannelMode com.neuronrobotics.sdk.dyio.IDyIOChannel.getMode | ( | ) |
Gets the channel's current mode.
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.
int com.neuronrobotics.sdk.dyio.IDyIOChannel.getValue | ( | ) |
Get the current value of a channel.
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.
boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setMode | ( | DyIOChannelMode | mode, |
boolean | async | ||
) |
Set the mode of a channel.
mode | the mode to set the channel to |
async | if it should be async or not |
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.
boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setValue | ( | ByteList | value | ) |
Set the value of a channel. Channels may not be able to be set to certain or potentially any values depending on the mode that a channel is in.
value | the value |
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.
boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setValue | ( | int | value | ) |
Set the value of a channel. Channels may not be able to be set to certain or potentially any values depending on the mode that a channel is in.
value | the value to set |
Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, com.neuronrobotics.sdk.dyio.peripherals.CounterOutputChannel, com.neuronrobotics.sdk.dyio.peripherals.CounterInputChannel, and com.neuronrobotics.sdk.dyio.DyIOChannel.