How to make a timer overflow after 0.5 seconds? Please explain counters, and tell me how to configure the following registers, so that the timer overflows after a specified amount of time? TMOD TCON TH0 TL0
I strongly recommend you read the datasheet for your device carefully as this will explain what you want to know far more clearly and comprehensively than any reply to your post. Stefan
The datasheet these days do not say much, The info that "everyone knows so no need to include it in the datasheet" can be found in chapters 1, 2 and 3 of the '51 "bible". The link to these chapters (and a link to the whole book which you will not want (it is huga and the last 2/3 are datsheets for obsolete derivatives) can be found at http://www.8052.com/links.phtml Erik