hesho90
Member level 4
can i set the NC pin in my GLCD aS a cs2
and the LM13232 GLCD PINS are
VCC VDD NC A0 NC E D0...D7 BLA CS1 PS RES
im useing pic16f877a
i made the code like
sbit GLCD_RS at RB0_bit;
sbit GLCD_CS1 at RB1_bit;
sbit GLCD_A0 at RB2_bit;
sbit GLCD_RW at RB3_bit;
sbit GLCD_EN at RB4_bit;
sbit GLCD_RS_Direction at TRISB0_bit;
sbit GLCD_CS1_Direction at TRISB1_bit;
sbit GLCD_AO_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
but it got an eror said
0 360 Unresolved extern 'GLCD_RST_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_CS2_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_RST' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_DataPort' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_CS2' __Lib_Glcd.c
0 360 Unresolved extern 'LCD_D7' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D6' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D5' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D4' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_RS' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_EN' __Lib_Lcd.c
0 102 Finished (with errors): 04 ÓÈÊãÈÑ 2012, 04:51:22 code.mcppi
and the LM13232 GLCD PINS are
VCC VDD NC A0 NC E D0...D7 BLA CS1 PS RES
im useing pic16f877a
i made the code like
sbit GLCD_RS at RB0_bit;
sbit GLCD_CS1 at RB1_bit;
sbit GLCD_A0 at RB2_bit;
sbit GLCD_RW at RB3_bit;
sbit GLCD_EN at RB4_bit;
sbit GLCD_RS_Direction at TRISB0_bit;
sbit GLCD_CS1_Direction at TRISB1_bit;
sbit GLCD_AO_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
but it got an eror said
0 360 Unresolved extern 'GLCD_RST_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_CS2_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_RST' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_DataPort' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_CS2' __Lib_Glcd.c
0 360 Unresolved extern 'LCD_D7' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D6' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D5' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_D4' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_RS' __Lib_Lcd.c
0 360 Unresolved extern 'LCD_EN' __Lib_Lcd.c
0 102 Finished (with errors): 04 ÓÈÊãÈÑ 2012, 04:51:22 code.mcppi