We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
The C code is:
#pragma SRC #include<Reg936.h> #define uchar unsigned char #define uint unsigned int extern uchar AA1; extern uchar a_func(uchar) void main() { unsigned char ab,acd; AA1=0xff; P0M1=0xff; P0M2=0xff; ab=1; acd=128; while(1) { if(ab==128) { P0=~acd; ab=128; acd/=2; a_func(acd); } if(acd==128) { P0=~ab; acd=128; ab*=2; a_func(ab/2); } if((ab==128)&&(acd==1)) { ab=1; acd=128; } } }
when i press the "build target",and disappear the error:
C51 FATAL-ERROR - ACTION: PARSING INVOKE-/#PRAGMA-LINE LINE: #pragma SRC ERROR: RESPECIFIED OR CONFLICTING CONTROL
how to deal with the error?
http://www.keil.com/support/man/docs/c51/c51_src.htm