How can I define variable about serial port communication I try to define as TH1 = 251; or TMOD = 0x20; ,it error (isn't correct). Is AT89S8252 know SCON variable?.
"it error (isn't correct)." I didn't read any error message. "Is AT89S8252 know SCON variable?" No, it's an SFR.
Be sure to include at898252.h