Problem PIC877a,SK40C and MD10C

LINIX Brushless, VEXTA Brushless, RC Servo, DC Geared, Linear, Stepper, Tamiya.....

Problem PIC877a,SK40C and MD10C

Postby Ali » Sun Feb 19, 2012 2:18 pm

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.
Ali
Newbie
 
Posts: 14
Joined: Fri Jan 06, 2012 10:02 am

Re: Problem PIC877a,SK40C and MD10C

Postby robosang » Mon Feb 20, 2012 10:50 am

I think you better search the forum, there is similar thread talking about this, this is due to different version of HI-TECH C Compiler.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: Problem PIC877a,SK40C and MD10C

Postby Ali » Mon Feb 20, 2012 1:45 pm

Thank you very much.
i found a forum similiar to this topic and it helped a lot.
Thanks.
Ali
Newbie
 
Posts: 14
Joined: Fri Jan 06, 2012 10:02 am


Return to DC Motor

Who is online

Users browsing this forum: No registered users and 2 guests

cron