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; }
I asked about showing of ISR of timers because it may be that ISR of timer1 contains a typpo, for example, JMP $ etc... Really, what is the initialization of Timer1 at start of main for if UART uses just mode 0? Seems Jeny rejected some important code parts... Good days!
Yes, you are probably right. Best wishes