Hello,
Recently I bought the package of PIC877A,SK40C and MD10C to control a SPG10 dc motor.
I just tested the LED off/on program and it works but while I was trying to run the program(from cytron for MD10C,SK40C) to control the dc motor I got the follwoing errors.I dont know why is it so.
I checked the data sheet of both PIC887 and PIC877a but it seemed similiar to me.
The errors are at these two lines:
Error [192] C:\Users\Ali\Desktop\Project_10\Project_10.c; 46.1 undefined identifier "ANSEL"
Error [192] C:\Users\Ali\Desktop\Project_10\Project_10.c; 47.1 undefined identifier "ANSELH"
If I delete is commands then another errror occurs suck as:
(1273) Omniscient Code Generation not available in Lite mode (warning)
Error [800] 1.as; 45. undefined symbol "LVPDIS"
Error [800] 1.as; 45. undefined symbol "MCLREN"
Error [800] 1.as; 45. undefined symbol "BORDIS"
Error [800] 1.as; 45. undefined symbol "PWRTEN"
Error [800] 1.as; 45. undefined symbol "WDTDIS"
Error [800] 1.as; 45. undefined symbol "HS"
I am quiet new so i dont know exactly why these errors for.
Any help is highly appreciated.
Tahnk you very much.