Package hw

Class IO

extends Object

The iLCD controllerJoCs allow most port pins to be assigned as digital or analog inputs, outputs (pull down or push/pull) or keyboard columns via iLCD Manager XEJoC Manager. All port pin methods below refer to the logical port name, not the physical port pin name.

This means the physical port pin "Keyboard column 3" may have e.g. the logical name "Output #9", so turning on this pin (= setting it to high when it is defined as a push/pull pin) can be done via the IO.setOutput(int, int) method.

When using the same port as a pull-down output port by using the IO.setOutput(int, int) method pulls the pin to low (making it "active"). Note that the Color iLCD controllerJoCs can only source/sink 4mA. Please check the documentation for your particular board.

_INSERT_CONSTRUCTOR_ENTRY_HERE_

Public Methods

Methods inherited from java.lang.Object

_INSERT_INHERITED_METHOD_ENTRY_HERE_

Public Fields

  • static final byte ANALOG_IN_0
  • static final byte ANALOG_IN_1
  • static final byte ANALOG_IN_2
  • static final byte ANALOG_IN_3
  • public static final byte INPUT_0
  • public static final byte INPUT_1
  • public static final byte INPUT_2
  • public static final byte INPUT_3
  • public static final byte INPUT_4
  • public static final byte INPUT_5
  • public static final byte INPUT_6
  • public static final byte INPUT_7
  • public static final byte INPUT_8
  • public static final byte INPUT_9
  • public static final byte INPUT_10
  • public static final byte INPUT_11
  • public static final byte INPUT_12
  • public static final byte INPUT_13
  • public static final byte INPUT_14
  • public static final byte INPUT_15
  • public static final byte INPUT_16
  • public static final byte INPUT_17
  • public static final byte INPUT_18
  • public static final byte INPUT_19
  • public static final byte INPUT_20
  • public static final byte INPUT_21
  • public static final byte INPUT_22
  • public static final byte INPUT_23
  • public static final byte INPUT_24
  • public static final byte INPUT_25
  • public static final byte INPUT_26
  • public static final byte INPUT_27
  • public static final byte INPUT_28
  • public static final byte INPUT_29
  • public static final byte INPUT_30
  • public static final byte INPUT_31
  • public static final int MAX_PWM_FREQUENCY
  • static final byte OUTPUT_SET_TO_BLINK
  • static final byte OUTPUT_SET_TO_OFF
  • static final byte OUTPUT_SET_TO_ON
  • static final byte PORT_ETHERNET
  • static final byte PORT_I2C
  • static final byte PORT_ID_ETHERNET
  • static final byte PORT_ID_I2C
  • static final byte PORT_ID_SERIAL_0
  • static final byte PORT_ID_SERIAL_1
  • static final byte PORT_ID_SERIAL_CURRENT
  • static final byte PORT_ID_SPI
  • static final byte PORT_ID_USB
  • static final byte PORT_SERIAL_0
  • static final byte PORT_SERIAL_1
  • static final byte PORT_SPI
  • static final byte PORT_USB
  • public static final byte PWM_0
  • public static final byte PWM_1
  • public static final byte PWM_2
  • public static final byte PWM_3
  • public static final byte PWM_4
  • public static final byte PWM_5
  • public static final boolean PWM_ON
  • public static final boolean PWM_OFF
  • private static final byte PWM_ON_VALUE
  • private static final byte PWM_OFF_VALUE
  • private static int rotaryEncoderPeriod
  • static final byte RELAY_0
  • static final byte RELAY_1
  • static final byte RELAYS_ENABLE_PWM_ON_RELAY
  • static final byte RELAYS_SET_OFF
  • static final byte RELAYS_SET_ON

_INSERT_FIELDS_ENTRY_HERE_