Hi Ben
This does not involve the topic, but i put this problem here..
I like to use Hitec compiler, because its much faster,it can handle the floating point better and it should be compatible to proteus...
The Hitech compiler seems to have problems on custom glcd code...
When i try compile the flowchart witch have lcd init, it gives me this kind of errors..
File name: C:\Program Files\Matrix Multimedia\Flowcode V4\Omat\hitec\displ.c
Generated by: Flowcode v4.3.7.63
Date: Sunday, January 09, 2011 09:39:01
Licence: Professional
Registered to: Mika Silvennoinen
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe --CHIP=18F4685 -N48 displ.c
displ.c:
354: rom char* ASCII1 = {0x00 , 0x00 , 0x00 , 0x00 , 0x00,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
366: rom char* ASCII2 = {0x00 , 0xE0 , 0x60 , 0x00 , 0x00,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
378: rom char* ASCII3 = {0x36 , 0x49 , 0x49 , 0x49 , 0x36,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
390: rom char* ASCII4 = {0x7F , 0x41 , 0x41 , 0x41 , 0x3E,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
402: rom char* ASCII5 = {0x7F , 0x09 , 0x09 , 0x09 , 0x06,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
414: rom char* ASCII6 = {0x02 , 0x04 , 0x08 , 0x10 , 0x20,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
426: rom char* ASCII7 = {0x7F , 0x04 , 0x04 , 0x78 , 0x00,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
438: rom char* ASCII8 = {0x04 , 0x3E , 0x44 , 0x24 , 0x00,
^ (374) missing basic type; int assumed (warning)
^ (314) ";" expected
displ.c: FCD_Custom20_LCD_Print_String()
948: temp[count]=ASCII1[(pos_Str*5)+count];
^ (192) undefined identifier "ASCII1"
(981) pointer required ^
(981) pointer required ^
952: temp[count]=ASCII2[((pos_Str - 12)*5)+count];
^ (192) undefined identifier "ASCII2"
(981) pointer required ^
(981) pointer required ^
956: temp[count]=ASCII3[((pos_Str - 24)*5)+count];
^ (192) undefined identifier "ASCII3"
(981) pointer required ^
(981) pointer required ^
960: temp[count]=ASCII4[((pos_Str - 36)*5)+count];
^ (192) undefined identifier "ASCII4"
(981) pointer required ^
(981) pointer required ^
964: temp[count]=ASCII5[((pos_Str - 48)*5)+count];
^ (192) undefined identifier "ASCII5"
displ.c: 964: too many errors (21)
HI-TECH C PRO for the PIC18 MCU Family candidate build 7178 V9.65
Copyright (C) 1984-2010 HI-TECH SOFTWARE
licensed for evaluation purposes only
this licence will expire on Fri, 28 Jan 2011
(908) exit status = 1
Return code = 1
Vuokaavion C-koodin kääntäminen ei onnistu johtuen seuraavista virheistä:
Jos vuokaaviossasi on C-koodia, käy tämä huolellisesti läpi. Jos vuokaaviossasi ei ole C-koodia tai olet täysin tarkastanut sen, ota yhteyttä tekniseen tukeen.
FINISHED