Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

tutorial 7_7 WITH pic16f876a

Status
Not open for further replies.
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};
 
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.

Latest threads

New Articles From Microcontroller Tips

Back
Top