I²C GLCD Adapter for KS x64 Manual (1.4)

Similar documents
LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

KNJN I2C bus development boards

KNJN I2C bus development boards

E-Module: GLCD+RTC Combo Datasheet

User s Guide. IP-201 I2C Bus Multiplexer Board Revision 1. Micro Computer Control Corporation

BV4218. I2C-LCD & Keypad. Product specification. December 2008 V0.a. ByVac 2006 ByVac Page 1 of 9

I 2 C Application Note in Protocol B

ArduCAM-M-2MP Camera Shield

Nuvoton Touch Key Series NT1160 Datasheet

GRAVITECH GROUP

BL24C02/BL24C04/BL24C08/BL24C16

USB-to-I2C. Ultra Hardware User s Manual.

USB-MPC with MDIO and I2C support User s Manual

Manual iaq-engine Indoor Air Quality sensor

Application Note. Interfacing to a Graphics LCD from PSoC. Summary This Application Note describes how to control a graphic LCD in a PSoC application.

Graphical LCD Display Datasheet EB

ﻢﯿﺣﺮﻟا ﻦﻤﺣﺮﻟا ﷲا ﻢﺴﺑ

LCD2041 Technical Manual. Revision: 2.1

Embedded Workshop 10/28/15 Rusty Cain

A0021. Overview. Features. Ordering Information. HSS Touch Signature IC 6 Input - I 2 C. Part Number Format: A X Y Z

USB-to-I2C. Professional Hardware User s Manual.

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

DS1676 Total Elapsed Time Recorder, Erasable

BV4205. I2C-10 Channel A to D. Product specification. January 2008 V0.a. ByVac Page 1 of 10

1.3inch OLED User Manual

The RS-485 user manual for B800 series communication

EA DOGS164x-A. INCL. CONTROLLER SSD1803A WITH SPI, I²C available at 1 piece! Switchable font height ACCESSORIES

RFID A1 Module User Manual V1.183

Pmod modules are powered by the host via the interface s power and ground pins.

Win-I2CUSB Hardware User s Manual

NHD 0216K3Z FL GBW. Serial Liquid Crystal Display Module

GRAPHICS LCD INTERFACING WITH 8051

Part 1 Using Serial EEPROMs

LCD4041. User Manual. LCD4041 rev 1 1

Device: EDR B. This document Version: 1c. Date: 11 November Matches module version: v3 [25 Aug 2016]

24C08/24C16. Two-Wire Serial EEPROM. Preliminary datasheet 8K (1024 X 8)/16K (2048 X 8) General Description. Pin Configuration

1. Features and Benefits

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD

The Cubesat Internal bus: The I2C

Embedded Systems and Software. Serial Interconnect Buses I 2 C (SMB) and SPI

Enhanced Closed-loop Trim with I 2 C Control for Platform Manager Devices

Microcontrollers and Interfacing

White Paper Using the MAX II altufm Megafunction I 2 C Interface

DS1845 Dual NV Potentiometer and Memory

USB-SD MP3 Module Manual

8. SED1565 Series. (Rev. 1.2)

RA8802/8820. Character/Graphic LCD Controller. Specification RA8802/8820. Version 1.1. April 26, 2004

SILICON MICROSTRUCTURES

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

NHD-0216K3Z-NS(RGB)-FBW-V3

Fremont Micro Devices, Inc.

NHD-0220D3Z-FL-GBW-V3

I2C-IN830M, I2C-IN830MA 8-Input Optocouplers I2C-bus, DIN rail supports

Programmable Device Interface PDI-1 A Versatile Hardware Controller with USB interface

Debounced 8 8 Key-Scan Controller

LK Technical Manual. Revision: 2.0

GIGAVAC Contactors I 2 C Communication

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

GRAVITECH GROUP

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1

Futaba MDM166A display

BV4531U. I2C or Serial 6 Way Relay

GRAVITECH GROUP

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

NHD-0220D3Z-FL-GBW-V3

RFID MODULE. Mifare Read/Write Module. CM030 User Manual. Version 2.1 Apr 2010 chenmingcard

Applications Military (Airborne, ground-fix, shipboard), Ruggedized, Telecom, Industrial

LK User Manual. LK rev 4 1

GLK WBL Technical Manual. Revision: 2.0

GLC24064 Technical Manual. Revision: 2.0

ST Sitronix ST7565P. 65 x 132 Dot Matrix LCD Controller/Driver

TrueSecure TM GT Series Fingerprint Sensor

Manual iaq-core Indoor Air Quality sensor module

I2C-OC805S, I2C-OC805SA I2C Bus 8-Output Open Collectors

SC2004MBS 20x4 Characters MODBUS RTU Slave LCD

EA DOGS104x-A INCL. CONTROLLER SSD1803A FOR SPI AND I²C. available at 1 piece! Switchable font height ACCESSORIES

USB-to-I2C Basic. Hardware User s Manual.

How to create your own peripheral modules for use with the ARC EMSK and embarc

TPMC810. Isolated 2x CAN Bus. Version 1.1. User Manual. Issue June 2009


Application Note: AZD025 IQ Switch - ProxSense TM Series I2C Example Code for the IQS222

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Introduction to I2C & SPI. Chapter 22

XRA BIT I2C/SMBUS GPIO EXPANDER WITH INTEGRATED LEVEL SHIFTERS

GT24C WIRE. 1024K Bits. Serial EEPROM

AN-1383 Application Note

RAiO RA x33 Dot Matrix LCD Driver Specification. Version 1.1 March 2, RAiO Technology Inc. Copyright RAiO Technology Inc.

GRAVITECH GROUP

DS 1682 Total Elapsed Time Recorder with Alarm

University of Florida EEL 4744 Spring 2011 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 31 March Apr-11 1:29 PM

I2C-AO112DIx I2C-Bus 4-20mA Analog Output Boards Din-Rail supports

StepGenerator4 //SG4// Manual

Adafruit seesaw. Created by Dean Miller. Last updated on :30:23 AM UTC

Lecture 25 March 23, 2012 Introduction to Serial Communications

US x 32 OLED/PLED Segment/Common Driver with Controller For 20x4 Characters.

Interfacing GLCD(128x64) with PIC16F877A

MPX-24794S Serial USB Card

ModBus Communication protocol. The ModBus protocol is an industrial communications and distributed control system

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

OLED DISPLAY MODULE. Application Notes. DD-12833YW-1A with EVK board PRODUCT NUMBER

Transcription:

I²C GLCD Adapter for KS0108 128x64 Manual (1.4) Luxemburger Str. 31 D 13353 Berlin Phone: +49 (0)30 617 412 48 Fax: +49 (0)30 617 412 47 www.channaa.com

2 1. General discription... 3 2. Pinning Information... 4 3. Communication via I²C-Bus... 5 3.1 I²C-Bus configuration...5 3.2 Address of the circuit...6 3.3 The I²C Bus specification...6 3.3.1 Start and Stop conditions...6 3.3.1 Write data to I²C GLCD Controller...6 3.3.1 Read data from I²C GLCD Controller...7 4. Commands description... 8 4.1 Command Overview...8 4.2 Command Description...9 4.2.1 CMDToGLCD...9 4.2.2 DatToGLCD...9 4.2.3 ndattoglcd...9 4.2.4 SetSLine...10 4.2.5 DispON...10 4.2.6 SetTxtPos...10 4.2.7 SendByte...11 4.2.8 SendnBytes...11 4.2.9 ReSetPixel...11 4.2.10 InvByte...12 4.2.11 InvPage...12 4.2.12 InvDisp...12 4.2.13 FillDisp...13 4.2.14 FillRect...13 4.2.15 VLine...13 4.2.16 HLine...14 4.2.17 Rectangle...14 4.2.18 RoundRectangle...14 4.2.19 Circle...15 4.2.20 CharToGLCD6x8...15 4.2.21 StringToGLCD6x8...15 4.2.22 CharToGLCD8x8...16 4.2.23 StringToGLCD8x8...16 4.2.24 ReadByte...16 4.2.25 ReSetIO1...17 4.2.26 ReSetIO2...17 4.2.27 ReadIOs...18 4.2.28 SetSlvAdr...18

3 1. General discription The I²C LC-Display Adapter enables easy interfacing a graphic LC-Display (KS0108 128x64) to an I²C-Bus (two wire serial interface). Communication between a host and the I²C GLCD takes places via the two wire bi-directional serial interface. It is possible to connect up to 128 devices (theoretical) on the same bus. Slave addresses are programmable via controller EEProm. Features: - 5 V supply voltage - Low-level input voltage (SCL,SDA only): min. 0.5V - max. 0.3V DD - High-level input voltage (SCL,SDA only): min. 0.7 V DD - max. 5.5V - 400 khz byte-wide I2C-bus communication port

4 2. Pinning Information Pin Description Pin Description 1 N.C. Not connected 17 N.C. Not connected 2 N.C. Not connected 18 N.C. Not connected 3 CS2 Chip select 19 SCL serial clock line 4 N.C. Not connected 20 SDA serial data line 5 CS1 Chip select 21 N.C. Not connected 6 E Chip enable signal 22 N.C. Not connected 7 RW Read / Write mode 23 IO1 In/Out-pin 1 8 DI Register selection Input 24 IO2 In/Out-pin 2 9 DB7 Data Bit 7 25 N.C. Not connected 10 DB6 Data Bit 6 26 N.C. Not connected 11 DB5 Data Bit 5 27 GND 0V Ground 12 DB4 Data Bit 4 28 RST Reset 13 DB3 Data Bit 3 29 GND 0V Ground 14 DB2 Data Bit 2 30 GND 0V Ground 15 DB1 Data Bit 1 31 GND 0V Ground 16 DB0 Data Bit 0 32 V DD 5V Supply voltage

5 3. Communication via I²C-Bus 3.1 I²C-Bus configuration I²C-Bus uses two wires (SDA and SCL) to transfer information between devices connected to the bus. Each device connected to the bus is software addressable by a unique addresse and simple master/slave relation ship exists at all times. I²C GLCD Adapter DI RW En CS1 CS2 RESET D0-D7 GLC-Display DI RW En CS1 CS2 RESET D0-D7 I²C GLCD Adapter DI RW En CS1 CS2 RESET D0-D7 GLC-Display DI RW En CS1 CS2 RESET D0-D7 +5V Host / microcontroller SDA- SCL- Line Line Example of an I²C-bus configuration

6 3.2 Address of the circuit This circuit operates in slave mode. Each circuit must be provided with a physical address on order to discern this circuit from other ones on the I²C-bus. This address is coded on 7 bits and one bit is hardwired to 1, so that it is possible to connect 64 different circuits on the same bus. The address is always 0xFE at delivery. 3.3 The I²C Bus specification 3.3.1 Start and Stop conditions Within the procedure of the I²C bus, unique situations arise which are defined as START (S) and STOP (P) conditions. - A HIGH to LOW transtion on the SDA line while SCL is HIGH defines a Start condition. - A LOW to HIGH transtion on the SDA line while SCL is HIGH defines a Stop condition. Start and Stop conditions are always generated by the master. The bus is considered to be busy after a START condition. The bus is considered to be free again a certain time after a STOP condition. 3.3.1 Write data to I²C GLCD Controller Writing data to a device on the I²C-Bus is agreed as follow: After the START condition, a slave address is sent. This address is 7 bits long followed by an eight bit which is a data direction bit ( 0 =write, 1 =read) and an acknoledge bit. Any further data byte is followed by an acknoledge bit. A data transfer is always terminated by a STOP condition. START 0 write n bytes + acknoledge STOP S Slave addr R/W A DATA A DATA A P Acknoledge bit generated by the slave

7 3.3.1 Read data from I²C GLCD Controller Reading data from a device on the I²C-Bus is agreed as follow and it consists of two sequences: 1. The first sequence consists of four bytes of data. The first byte is the slave address and write bit. The second consists of the function ID (or more) which reads the data from the RAM of the GLCD and stores them in an internal register of the I²C GLCD Controller. 2. The second sequence consists of the slave address and the read bit. Then the master can read the data. After each byte of data the master has to acknoledge correct data reception. The last byte is not to acknoledge by the master and therfore the slave knows the end of transmission. 0 write S Slave addr R/W A Function ID P S Slave addr R/W A DATA A DATA /A P 1 read n bytes + acknoledge For further information about the I²C-Bus specification please visit philips semiconductors on the internet at http://www.semiconductors.philips.com and download the datasheet.

8 4. Commands description 4.1 Command Overview Command Function Command Byte CMDToGLCD Sends a command to the GLCD 0x41 DatToGLCD Sends a data byte to the GLCD 0x42 ndattoglcd Sends up to 254 data bytes to the GLCD 0x40 SetSLine Sets the start line 0x43 DispON Enable / Disable Display (ON / OFF) 0x44 SetTxtPos Sets cursor postion (Row, Column) 0x45 SendByte Sends a byte to GLCD 0x46 SendnBytes Sends up to 254 Bytes to GLCD 0x47 ReSetPixel Set/Reset one Pixel 0x48 InvByte Read, reverse and write a byte to GLCD 0x49 InvPage Read, reverse and write a page to GLCD 0x4A InvDisp Display reverse 0x4B FillDisp Fills display with a certain byte 0x4C FillRect Draws s solid rectangle 0x4D VLine Draws a vertical line 0x4E HLine Draws a horizontal line 0x4F Rectangle Draws a rectangle 0x50 RoundRectangle Draws a round rectangle 0x51 Circle Draws a circle 0x52 CharToGLCD6x8 Writes a 6x8 character on GLCD 0x53 StringToGLCD6x8 Writes up to 254 6x8 characters on GLCD 0x54 CharToGLCD8x8 Writes a 8x8 character on GLCD 0x55 StringToGLCD8x8 Writes up to 254 8x8 characters on GLCD 0x56 ReadByte Reads a Byte at X,Y position 0x57 ReSetIO1 Sets or resets IO-Pin 1 0x60 ReSetIO1 Sets or resets IO-Pin 2 0x61 ReadIOs Reads the state of IO-Pins 1 and 2 0x62 SetSlvAdr Changes slave adress 0x73

9 4.2 Command Description 4.2.1 CMDToGLCD Some times it is necessary to a single command to the LCD. In order to send a command to GLCD issue the folowing command by the master. CMDToGLCD command (0x41) 1 CMDToGLCD 0 1 0 0 0 0 0 1 2 cmd byte GLCD command 3 Controller (CS) x x x x x x CS (1:0) CS comment 0 0 Controller 1 selected (default) 0 1 Controller 2 selected 1 0 Controller 1 and 2 selected 1 1 Default controller selected x Do not care 4.2.2 DatToGLCD In order to send a data byte to GLCD issue the folowing command by the master DatToGLCD command (0x42) Byte Content Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 DatToGLCD 0 1 0 0 0 0 1 0 2 data byte GLCD data byte 3 Controller (CS) * x x x x x x CS (1:0) 4.2.3 ndattoglcd In order to write an array of bytes (up to 254 bytes) send the following command: ndattoglcd command (0x40) Byte Content Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 ndattoglcd 0 1 0 0 0 0 0 0 2 Controller (CS) * x x x x x x CS (1:0) 3 Byte 1 Data byte 1 4 Byte 2 Data byte 2 n Byte n Data Byte n (up to 254 bytes)

10 4.2.4 SetSLine In order to set the start line issue the following command SetSLine command (0x43) Byte Content Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 SetSLine 0 1 0 0 0 0 1 1 2 Start Line Start Line 3 Controller (CS) * x x x x x x CS (1:0) 4.2.5 DispON To turn the display ON / OFF issue the following command DispON command (0x44) Byte Content Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1 CharToLCD 0 1 1 0 0 1 0 0 2 ON / OFF x x x x x x x ON 3 Controller (CS) * x x x x x x CS (1:0) ON comment 0 Display OFF 1 Display ON 4.2.6 SetTxtPos A KS0108 GLCD contains 8 Rows (0x00 0x07) and 128 Columns (0x00 0x7F Pixels). In ordser to set the Position of the Cursor issue the following command: SetTxtPos command (0x45) 1 SetTxtPos 0 1 0 0 0 1 0 1 2 Column x (7:0) 0x00 0x7F (128 Pixels) 3 Row x x x x x (3:0) 0x00 0x07

11 4.2.7 SendByte In order to send a data byte to the GLCD issue this command. SendByte command (0x46) 1 SendByte 0 1 0 0 0 1 1 0 2 Column x (7:0) 0x00 0x7F (128 Pixels) 3 Row x x x x x (3:0) 0x00 0x07 4 Data byte Data byte 5 Type x x x x x (3:0) Type Type comment 0 0 0 Replace 0 0 1 Inverse Replace 0 1 0 Set 0 1 1 Clear 1 0 0 Inverse else Replace 4.2.8 SendnBytes In order to write an array of bytes (up to 254 bytes) send the following command: SendnBytes command (0x47) 1 SendnBytes 0 1 0 0 0 1 1 1 2 Type x x x x x (3:0) Type 3 Byte 1 Data byte 1 4 Byte 2 Data byte 2 n Byte n Data Byte n (up to 254 bytes) 4.2.9 ReSetPixel Sets, clears or inverse a pixel. ReSetPixel command (0x48) 1 ReSetPixel 0 1 0 0 1 0 0 0 2 Coordinate X x (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y x x (6:0) 0x00 0x3F (64 Pixels) 4 Type x x x x x (3:0) Type *

12 Type * comment 0 1 0 Set 0 1 1 Clear 1 0 0 Inverse else Set 4.2.10 InvByte This command is provided by the master to reverse a byte at a certain position on GLCD. InvByte command (0x49) 1 InvByte 0 1 0 0 1 0 0 1 2 Column x (7:0) 0x00 0x7F (128 Pixels) 3 Row x x x x x (3:0) 0x00 0x07 4.2.11 InvPage This command is provided by the master to reverse a whole page on GLCD. InvPage command (0x4A) 1 InvByte 0 1 0 0 1 0 1 0 2 Controller (CS) x x x x x x x CS 3 Page x x x x x (3:0) 0x00 0x07 4.2.12 InvDisp In order to reverse the whole content of the display issue the following command: InvDisp command (0x4B) 1 InvDisp 0 1 0 0 1 0 1 1

13 4.2.13 FillDisp To fill the display with a certain byte send the following command. e.g. if you issue this command and send the byte 0x00 then the display will be cleared. FillDisp command (0x4C) 1 FillDisp 0 1 0 0 1 1 0 0 2 Data byte Data byte 4.2.14 FillRect The following command is provided by the master to draw a solid rectangle on GLCD. Position X,Y is the upper left corner of a rectangle. FillRect command (0x4D) 1 FillRect 0 1 0 0 1 1 0 1 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Height 0 0 (6:0) 0x00 0x3F (64 Pixels) 5 Width 0 (7:0) 0x00 0x7F (128 Pixels) 6 Type x x x x x (3:0) Type* 4.2.15 VLine Issue this command to draw a vertical line starting at position X,Y. VLine command (0x4E) 1 VLine 0 1 0 0 1 1 1 0 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Length 0 0 (6:0) 0x00 0x3F (64 Pixels) 5 Type x x x x x (3:0) Type*

14 4.2.16 HLine Issue this command to draw a horizontal line starting at position X,Y. HLine command (0x4F) 1 HLine 0 1 0 0 1 1 1 1 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Length 0 (7:0) 0x00 0x7F (128 Pixels) 5 Type x x x x x (3:0) Type* 4.2.17 Rectangle The following command is provided by the master to draw a rectangle on GLCD. Position X,Y is the upper left corner of a rectangle. Rectangle command (0x50) 1 Rectangle 0 1 0 1 0 0 0 0 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Height 0 0 (6:0) 0x00 0x3F (64 Pixels) 5 Width 0 (7:0) 0x00 0x7F (128 Pixels) 6 Type x x x x x (3:0) Type* 4.2.18 RoundRectangle The following command is provided by the master to draw a round rectangle on GLCD. Position X,Y is the upper left corner of a rectangle. RoundRectangle command (0x51) 1 RoundRectangle 0 1 0 1 0 0 0 1 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Height 0 0 (6:0) 0x00 0x3F (64 Pixels) 5 Width 0 (7:0) 0x00 0x7F (128 Pixels) 6 Radius 0 0 0 (5:0) 0x00 0x1F ** 7 Type x x x x x (3:0) Type* **) Radius <= Heigh/2 AND Radius <= Width/2

15 4.2.19 Circle Issue this command to draw a circle with a center at position X,Y. Circle command (0x52) 1 Circle 0 1 0 1 0 0 1 0 2 Coordinate X 0 (7:0) 0x00 0x7F (128 Pixels) 3 Coordinate Y 0 0 (6:0) 0x00 0x3F (64 Pixels) 4 Radius 0 0 0 (5:0) 0x00 0x1F 5 Type x x x x x (3:0) Type* Type * comment 0 1 0 Set 0 1 1 Clear 1 0 0 Inverse else Set 4.2.20 CharToGLCD6x8 To write a 6x8 pixel character on the GLCD issue the following command CharToGLCD6x8 command (0x53) 1 CharToGLCD6x8 0 1 0 1 0 0 1 1 2 character character 3 Type x x x x x (3:0) Type 4.2.21 StringToGLCD6x8 In order to write a String (up to 254 6x8 pixel characters) send the following command: StringToGLCD6x8 command (0x54) 1 StringToGLCD6x8 0 1 0 1 0 1 0 0 2 Type x x x x x (3:0) Type 3 Character 1 character 1 4 Character 2 Character 2 n Character n character n (up to 254 character)

16 4.2.22 CharToGLCD8x8 To write a 8x8 pixel character on the GLCD issue the following command CharToGLCD8x8 command (0x55) 1 CharToGLCD8x8 0 1 0 1 0 1 0 1 2 character character 3 Type x x x x x (3:0) Type 4.2.23 StringToGLCD8x8 In order to write a String (up to 254 8x8 pixel characters) send the following command: StringToGLCD8x8 command (0x56) 1 StringToGLCD8x8 0 1 0 1 0 1 1 0 2 Type x x x x x (3:0) Type 3 Character 1 character 1 4 Character 2 Character 2 n Character n character n (up to 254 character) Type comment 0 0 0 Replace 0 0 1 Inverse Replace 0 1 0 Set 0 1 1 Clear 1 0 0 Inverse else Replace 4.2.24 ReadByte This function returns two bytes: 1. the slave address of the selected device and 2. a data byte from the position (column,row) of the GLCD. ReadByte command (0x57) 1 ReadByte 0 1 0 1 0 1 1 1 2 Column x (7:0) 0x00 0x7F (128 Pixels) 3 Row x x x x x (3:0) 0x00 0x07

17 ReadByte Response 0 Slave Address ( W ) M7 M6 M5 M4 M3 M2 1 1 1 Slave address Slave address of the selected device 2 Register content Data byte from the selected RAM address 4.2.25 ReSetIO1 Issue the following command to set or reset GPIO 1. ReSetIO1 command (0x60) 1 ReSetIO1 0 1 1 0 0 0 0 0 2 State x x x x x x x ST 4.2.26 ReSetIO2 Issue the following command to set or reset GPIO 2. ReSetIO2 command (0x61) 1 ReSetIO2 0 1 1 0 0 0 0 1 2 State x x x x x x x ST ST comment 0 IO Low 1 IO High x Do not care

18 4.2.27 ReadIOs This function returns two bytes: 1. the slave address of the selected device and 2. data byte is the state of IO-Pins 1 and 2. ReadIOs command (0x62) 1 ReadIOs 0 1 1 0 0 0 1 0 ReadIOs Response 0 Slave Address ( W ) M7 M6 M5 M4 M3 M2 M1 1 1 Slave address Slave address of the selected device 2 State x x x x x x ST2 ST1 IO comment ST1 0 IO Low 1 IO High ST2 0 IO Low 1 IO High 4.2.28 SetSlvAdr In order to change the slave address issue this command and then send the new slave address. Bit 1 is hardwired. SlvAdr command (0x73) 1 WriteSlvAdr 0 1 1 1 0 0 1 1 2 Slave Address upper 6 bits of Slave address (7:2) x x x Do not care