plz any one tell me how to work with timer.
i m working with p89v51rd2. in that i m trying to a simple program which showing the numbers on led as counter.
logic of my program is when one cycle is complete of timer than number have to change.
but i m not able to do this.
TMOD=0x20; that is for timer for 2 mode which 16 bit TH1=0xf3; that is for 2400 bugd rate but convert to 9600
any one help me plz.....
That's a totally different question - so start a new thread.
But before you start a new thread, have you actually done any research into this?
Both the 8051 and 7-segment displays have been around for over a quarter of a century - surely you must be able to find something helpful that's been written down in all that time...?
If you have a specific question, then take time to explain what you've done so far, and where you're stuck...