ON 20090717@9:24:31 AM at page: On a web page you were interested in at: http://www.piclist.com/microchip/language/c/io/lcd/hitachilcd-ak/index.htm#40010.1278703704 James Newton[JMN-EFP-786] published post 40010.1278703704 ernesto_;lc85@hotmail.com
I only changed this part|Delete 'P-' before: '' but after: 'ernesto_lc85@hotmail.com
PIN (LCD_E, PORTC, 2);
PIN (LCD_RW, PORTC, 1);
PIN (LCD_RS, PORTC, 0);
PIN (LCD_TRIS_E, TRISC, 2);
PIN (LCD_TRIS_RW, TRISC, 1);
PIN (LCD_TRIS_RS, TRISC, 0);
then i connected my circuit and it didn't work, im using XT=4MHz, the LCD doesn't even get turned on.
hi, this code gives me many errors...like:'
Executing: "C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\bin\picc.exe" --pass1 "D:\Documentos\Arquitectura\Calculadora\Prueba LCD\lcd_test_c.c" -q --chip=16F877A -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error [194] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 160.7 ")" expected
Error [372] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 166.20 "," expected
Warning [349] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 166.22 non-prototyped function declaration for "lcd_putc"
Error [313] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 166.22 function body expected
Error [372] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 167.23 "," expected
Warning [349] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 167.25 non-prototyped function declaration for "lcd_command"
Error [313] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 167.25 function body expected
Warning [374] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 168.6 missing basic type; int assumed
Error [372] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 168.6 "," expected
Error [372] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 168.22 "," expected
Warning [349] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 168.36 non-prototyped function declaration for "lcd_lineof"
Error [313] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 168.36 function body expected
Warning [374] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 169.6 missing basic type; int assumed
Error [372] C:\Archivos de programa\HI-TECH Software\PICC\PRO\9.60\include\lcd.h; 169.6 "," expected
Warning [361] D:\Documentos\Arquitectura\Calculadora\Prueba LCD\lcd_test_c.c; 22.1 function declared implicit int
Error [195] D:\Documentos\Arquitectura\Calculadora\Prueba LCD\lcd_test_c.c; 24.1 expression syntax
Error [194] D:\Documentos\Arquitectura\Calculadora\Prueba LCD\lcd_test_c.c; 24.15 ")" expected
Error [195] D:\Documentos\Arquitectura\Calculadora\Prueba LCD\lcd_test_c.c; 24.15 expression syntax
********** Build failed! **********