in byte registers ,it declares sfr CMP1 = 0xAC; sfr CMP2 = 0xAD; while in bit registers it declares sbit KB7 = P0^7; sbit T1 = P0^7; sbit KB6 = P0^6; sbit CMP1 = P0^6; sbit KB5 = P0^5; sbit CMPREF = P0^5; sbit KB4 = P0^4; sbit CIN1A = P0^4; sbit KB3 = P0^3; sbit CIN1B = P0^3; sbit KB2 = P0^2; sbit CIN2A = P0^2; sbit KB1 = P0^1; sbit CIN2B = P0^1; sbit KB0 = P0^0; sbit CMP2 = P0^0; Is it a error? IDE-Version: uv ision3 V3.30 C Compiler: C51.Exe V8.02 thanks
"the problem here is that Keil "mindlessly" makes a .h file..." The problem is the file that doesn't even compile! The file should not have been released if it doesn't even compile!
The file should not have been released if it doesn't even compile! agreed Erik