Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If I understand your problem, you need to find out how to connect GLCD and microcontroller. On this site you have a described one professional development board based on PIC microcontrollers and there are connections for GLCD.
If you download user manual from this site, you will see how is GLCD connect to PIC.
web site about development board
**broken link removed**
**broken link removed**
i want to know what one i coonect with my pic cz i didnt see this pins befor
Using the name, I find a datasheet for your GLCD - **broken link removed**
Where you seen NC pin on your schematic? Usually that means NC - Not Connect.
Is this correct datasheet - datasheet of LM13232
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 sbit GLCD_A0 at RB0_bit; sbit GLCD_EN at RB1_bit; sbit GLCD_CS1 at RB2_bit; sbit GLCD_PS at RB3_bit; sbit GLCD_D4 at RB4_bit; sbit GLCD_D5 at RB5_bit; sbit GLCD_D6 at RB6_bit; sbit GLCD_D7 at RB7_bit; sbit GLCD_A0_Direction at TRISB0_bit; sbit GLCD_EN_Direction at TRISB1_bit; sbit GLCD_CS1_Direction at TRISB2_bit; sbit GLCD_PS_Direction at TRISB3_bit; sbit GLCD_D4_Direction at TRISB4_bit; sbit GLCD_D5_Direction at TRISB5_bit; sbit GLCD_D6_Direction at TRISB6_bit; sbit GLCD_D7_Direction at TRISB7_bit; void main() { GLcd_Init(); Lcd_Out(1,1,"hello"); Delay_ms(2000); }
- - - Updated - - -0 1 mikroCPIC1618.exe -MSF -DBG -pP16F877A -DL -O11111114 -fo8 -N"F:\leds\ãÌáÏ ÌÏíÏ\code\code.mcppi" -SP"D:\Program Files\Mikroelektronika\mikroC PRO for PIC\defs\" -SP"D:\Program Files\Mikroelektronika\mikroC PRO for PIC\Uses\P16\" -SP"F:\leds\ãÌáÏ ÌÏíÏ\code\" "code.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_CType.mcl" "__Lib_CString.mcl" "__Lib_CStdlib.mcl" "__Lib_CMath.mcl" "__Lib_Conversions.mcl" "__Lib_Sprinti.mcl" "__Lib_Sprintl.mcl" "__Lib_Time.mcl" "__Lib_Trigonometry.mcl" "__Lib_Button.mcl" "__Lib_Keypad4x4.mcl" "__Lib_Manchester.mcl" "__Lib_OneWire.mcl" "__Lib_PS2.mcl" "__Lib_Sound.mcl" "__Lib_SoftI2C.mcl" "__Lib_SoftSPI.mcl" "__Lib_SoftUART.mcl" "__Lib_ADC_A_C.mcl" "__Lib_EEPROM.mcl" "__Lib_FLASH_RW.mcl" "__Lib_I2C_c34.mcl" "__Lib_PWM_c21.mcl" "__Lib_SPI_c345.mcl" "__Lib_UART_c67.mcl" "__Lib_PortExpander.mcl" "__Lib_CANSPI.mcl" "__Lib_CF.mcl" "__Lib_GlcdFonts.mcl" "__Lib_Glcd.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl" "__Lib_RS485.mcl" "__Lib_T6963C.mcl" "__Lib_SPIGlcd.mcl" "__Lib_SPILcd.mcl" "__Lib_SPILcd8.mcl" "__Lib_SPIT6963C.mcl" "__Lib_EthEnc28j60.mcl" "__Lib_EthEnc24j600.mcl" "__Lib_TouchPanel.mcl"
0 1139 Available RAM: 352 [bytes], Available ROM: 8192 [bytes]
0 126 All files Preprocessed in 1 ms
0 122 Compilation Started code.c
29 123 Compiled Successfully code.c
0 127 All files Compiled in 63 ms
0 360 Unresolved extern 'GLCD_RST_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_RS_Direction' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_RW_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_RS' __Lib_Glcd.c
0 360 Unresolved extern 'GLCD_RW' __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): 06 ÓÈÊãÈÑ 2012, 22:44:35 code.mcppi
sbit GLCD_A0 at RB0_bit;
sbit GLCD_EN at RB1_bit;
sbit GLCD_CS1 at RB2_bit;
sbit GLCD_PS at RB3_bit;
sbit GLCD_D4 at RB4_bit;
sbit GLCD_D5 at RB5_bit;
sbit GLCD_D6 at RB6_bit;
sbit GLCD_D7 at RB7_bit;
sbit GLCD_A0_Direction at TRISB0_bit;
sbit GLCD_EN_Direction at TRISB1_bit;
sbit GLCD_CS1_Direction at TRISB2_bit;
sbit GLCD_PS_Direction at TRISB3_bit;
sbit GLCD_D4_Direction at TRISB4_bit;
sbit GLCD_D5_Direction at TRISB5_bit;
sbit GLCD_D6_Direction at TRISB6_bit;
sbit GLCD_D7_Direction at TRISB7_bit;
// Glcd module connections
char GLCD_DataPort at PORTC; // port for Data Bus Line
char GLCD_DataPort_Direction at DDRC; // port direction
sbit GLCD_CS1 at PORTD.B2; // Select segment 1 - 64
sbit GLCD_CS2 at PORTD.B3; // Select segment 65 - 128
sbit GLCD_RS at PORTD.B4; // High: Data; Low: Instruction
sbit GLCD_RW at PORTD.B5; // High: Read, Low: Write
sbit GLCD_EN at PORTD.B6; // High: Enable signal
sbit GLCD_RST at PORTD.B7; // Reset the LCM
sbit GLCD_CS1_Direction at DDRD.B2;
sbit GLCD_CS2_Direction at DDRD.B3;
sbit GLCD_RS_Direction at DDRD.B4;
sbit GLCD_RW_Direction at DDRD.B5;
sbit GLCD_EN_Direction at DDRD.B6;
sbit GLCD_RST_Direction at DDRD.B7;
// End Glcd module connections