User manual
350
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
Requires - GLCD_EN : Enable signal pin
- GLCD_RST : Reset signal pin
- GLCD_D0_Direction : Direction of the Data pin 0
- GLCD_D1_Direction : Direction of the Data pin 1
- GLCD_D2_Direction : Direction of the Data pin 2
- GLCD_D3_Direction : Direction of the Data pin 3
- GLCD_D4_Direction : Direction of the Data pin 4
- GLCD_D5_Direction : Direction of the Data pin 5
- GLCD_D6_Direction : Direction of the Data pin 6
- GLCD_D7_Direction : Direction of the Data pin 7
- GLCD_CS1_Direction : Direction of the Chip select 1 pin
- GLCD_CS2_Direction : Direction of the Chip select 2 pin
- GLCD_RS_Direction : Direction of the Register select signal pin
- GLCD_RW_Direction : Direction of the Read/Write signal pin
- GLCD_EN_Direction : Direction of the Enable signal pin
- GLCD_RST_Direction : Direction of the Reset signal pin
must be dened before using this function.
Example
// Glcd module connections
var GLCD_D7 : sbit at RD3_bit;
GLCD_D6 : sbit at RD2_bit;
GLCD_D5 : sbit at RD1_bit;
GLCD_D4 : sbit at RD0_bit;
GLCD_D3 : sbit at RB3_bit;
GLCD_D2 : sbit at RB2_bit;
GLCD_D1 : sbit at RB1_bit;
GLCD_D0 : sbit at RB0_bit;
GLCD_D7_Direction : sbit at TRISD3_bit;
GLCD_D6_Direction : sbit at TRISD2_bit;
GLCD_D5_Direction : sbit at TRISD1_bit;
GLCD_D4_Direction : sbit at TRISD0_bit;
GLCD_D3_Direction : sbit at TRISB3_bit;
GLCD_D2_Direction : sbit at TRISB2_bit;
GLCD_D1_Direction : sbit at TRISB1_bit;
GLCD_D0_Direction : sbit at TRISB0_bit;
GLCD_CS2 : sbit at LATB5_bit;
GLCD_RS : sbit at LATF0_bit;
GLCD_RW : sbit at LATF1_bit;
GLCD_EN : sbit at LATF4_bit;
GLCD_RST : sbit at LATF5_bit;
var GLCD_CS1_Direction : sbit at TRISB4_bit;
GLCD_CS2_Direction : sbit at TRISB5_bit;
GLCD_RS_Direction : sbit at TRISF0_bit;
GLCD_RW_Direction : sbit at TRISF1_bit;
GLCD_EN_Direction : sbit at TRISF4_bit;
GLCD_RST_Direction : sbit at TRISF5_bit;
// End Glcd module connections
...
Glcd_Init();
Notes None.