Microcontroller › 8051 › undefined identifier on KEIL Uvision4 › Hi,It is a simple error
January 15, 2014 at 4:04 am
#10846
AJISH ALFRED
Participant
Hi,
It is a simple error occured due to improper commenting.
TH0 = 0xFc; //0xFFFF – 0xFc17 = 1000 (decimal) -> 1ms for 12MH
crystal
TL0 = 0x17;
Keep that ‘crystal’ on the same line where you started the comment, like given below.
TH0 = 0xFc; //0xFFFF – 0xFc17 = 1000 (decimal) -> 1ms for 12MH crystal
TL0 = 0x17;