sahu Member Dec 1, 2014 #1 I have to need LCD interfacing code , those i found on tutorial 7_7 form https://www.electro-tech-online.com/articles/nigel-goodwins-tutorials-in-c.467/. i compiled that with Microchip\xc8\v1.32 .found error 82.8 undefined identifier "HEX_Table" 82.23 pointer required 85.23 pointer required Click to expand... pl guide me what wrong with me ?
I have to need LCD interfacing code , those i found on tutorial 7_7 form https://www.electro-tech-online.com/articles/nigel-goodwins-tutorials-in-c.467/. i compiled that with Microchip\xc8\v1.32 .found error 82.8 undefined identifier "HEX_Table" 82.23 pointer required 85.23 pointer required Click to expand... pl guide me what wrong with me ?
P Pommie Well-Known Member Most Helpful Member Dec 1, 2014 #2 The compiler used in those examples is Hi-tech lite v9.6. Mike.
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Dec 1, 2014 #3 Ah... But they compile as is with XC8.... The above error is because I didn't copy the hex table over after writing it.... Thanks for finding that bug... Here is the hex table.. C: unsigned char HEX_Table[] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
Ah... But they compile as is with XC8.... The above error is because I didn't copy the hex table over after writing it.... Thanks for finding that bug... Here is the hex table.. C: unsigned char HEX_Table[] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
P Pommie Well-Known Member Most Helpful Member Dec 2, 2014 #4 Ian, Out of curiosity, how long has that bug been in there? Mike.
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Dec 2, 2014 #5 Ooooh! since forever!! The trouble is... The hex function isn't used in tutorial 7... So the HiTech compiler gave a warning!! But XC8 complains, even though it isn't compiled???? All he needed to do was delete the function...
Ooooh! since forever!! The trouble is... The hex function isn't used in tutorial 7... So the HiTech compiler gave a warning!! But XC8 complains, even though it isn't compiled???? All he needed to do was delete the function...