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.
I can't step over this instruction ( while(TI==0);// ) the program : #include "reg51.h" main() { TCON = 0x50; TMOD = 0x20; TL1 = 0xFD; TH1 = 0xFD; TR1 = 1; while(1) { SBUF = 0xFF; while(TI==0);// I can't step over here . TI = 0; }
Note: In fact, in the shift register mode no baudrate generator is needed because the rate is constant and equals Fosc/12. So if this mode were the intention, no set up of any timer or baudrate generator is needed.