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
  • static final byte CHRON_OFF
  • static final byte CHRON_ON
  • static final byte FALLING_EDGE
  • 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
  • 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
  • static final byte RISING_EDGE

_INSERT_FIELDS_ENTRY_HERE_