This is the timer program for the 12c5a chip.
I copied him directly to the 89c52.
It is reasonable to change to the 89c52 chip when it is universal
But it is stuck in this timer program.
I tested this way.
The serial port can only receive 0x11
Then the following program did not respond.
Please answer your questions. Thank you.
【PCB Prototype】,China PCB Prototype, PCB Prototyping, Fabrication Manufacturer - PCBIndex.com
The issue that you are having it is with the Initialization, of the TIMER1, when you are changing the value to use the timer, then you change the Baud Rate of the Serial Port. You need to change it again to the previous value of TCON TMOD to be able to transmit or receive again.
Hope this clarifies.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------