tutorial 7_7 WITH pic16f876a

Status
Not open for further replies.
The compiler used in those examples is Hi-tech lite v9.6.

Mike.
 
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};
 
Ian,

Out of curiosity, how long has that bug been in there?

Mike.
 
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...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…