I have a problem with controller output. ( From controller's serial port via COM port i send data to my PC, and can recieve it on PC's Hyperterminal ). While testing the programm into debugger ( Keil C251 uVision2 ), i recieve the string, that i was sent from the programm. But from real controller i recieve that: if i use code
for ( i = 0; i < strlen (MyString); i ++) { TI = 0; SBUF = MyString[i]; while(!TI); }
for ( i = 0; i < 6; i ++) { TI = 0; SBUF = MyString[i]; while(!TI); }