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.
hi!
my c-progarm complies for 89c51 ..but wen i use d same code for 89f51rc by changing d header file, i get an error.
C:\KEIL\C51\INC\ATMEL\REGF51RC.H(29): error C231: 'TL2': redefinition
.i m new to keil, plz help.. also i wanna know difference between
P0^0 and P0_0 .
So start here: http://www.keil.com/support/man_c51.htm
Do you have any prior experience with other tools?
Do you have any prior experience with 'C' programming in general?
Do you have any prior experience with microcontrollers in general, and/or the 8051 family in particular?
As with any message from any compiler, just read the text literally - think about what "redefinition" means...
"difference between P0^0 and P0_0"
See: http://www.keil.com/support/man/docs/c51/c51_le_bitaddrobj.htm
thanks a lot ! yeah i hav some experience in c progarm and microcontroller 8051.actually i planned for ic tester mini project using 8051. i downloaded a lcd initialisatin prog and editedd main function so that it can auto detect d basic gates and its working condition (and,or,not,xor,xnor,nand,and) . i couldcompile for 89c51 whch is 4k flash memory,but my code was abt 16k. so i thot of using 89f51rc whch is 64k. that s wher i got error.
So you should understand why redefining a symbol is a Bad Thing...