

Writes one byte to the current location in Glcd memory and moves to the next location. Void Glcd_Write_Data( unsigned short ddata) See functions Glcd_Set_Side, Glcd_Set_X, and Glcd_Set_Page. Glcd side, x-axis position and page should be set first. Reads data from from the current location of Glcd memory and moves to the next location. Glcd needs to be initialized, see Glcd_Init routine. The parameter x_pos specifies the Glcd side: values from 0 to 63 specify the left side, values from 64 to 127 specify the right side.įor side, x axis and page layout explanation see schematic at the bottom of this page. Refer to the Glcd datasheet for detailed explanation. Void Glcd_Set_Side( unsigned short x_pos) glcd pinout settings char GLCD_DataPort at PORTD Must be defined before using this function. GLCD_RST_Direction : Direction of the Reset signal pin.GLCD_EN_Direction : Direction of the Enable signal pin.GLCD_RW_Direction : Direction of the Read/Write signal pin.GLCD_RS_Direction : Direction of the Register select signal pin.GLCD_CS2_Direction : Direction of the Chip select 2 pin.GLCD_CS1_Direction : Direction of the Chip select 1 pin.Each of the control lines is both port and pin configurable, while data lines must be on a single port (pins ).

PIC16 family of MCUs does not support working with external resources.Įxternal dependencies of Graphic Lcd Library The following variables must be defined in all projects using Graphic Lcd Library:
