Author Topic: == Arduino I2C Source Code for IO functions ==  (Read 1399 times)

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
== Arduino I2C Source Code for IO functions ==
« on: August 17, 2014, 12:54:17 AM »
We will soon be adding Arduino example code to this post showing how control the OUT1 and OUT2 outputs. The LCD2S has 2 general purpose open collector outputs. These outputs can supply up to 1000mA, and have protection circuitry for driving relays. Both OUT1 and OUT2 are enabled by default. They are available via the X3 connector (2x6 pin header).

Output OUT2 does not share port pins with any other function, and is always enabled.

Output OUT1 shares a port pin with the keypad encoder, and can only be used when the keypad encoder is configured for a 4x3 keypad (4 rows by 3 columns = 12 keys) or smaller. It is enabled by inserting a jumper on the end of the 2x6 pin header (marked OUT1 on PCB). It is enabled by default, and this jumper is present. When the keypad encoder is configured for a 4x4 keypad, this jumper must be removed! Output OUT1 can not be used when using a 16 key, 4x4 keypad!



Click for larger view
« Last Edit: August 17, 2014, 01:53:40 AM by modtro2 »