Microcontroller › 8051 › how to start timer by software and stop by external hardware and then taking resultant value of time? › hi zobi try this it migh work
try this it migh work out
mov TL0,<decimal value>
no need of pond”#” sign or to right ‘h’ at the end….
note: max value can go to 255 since TL0 is a 8 bit register
just let me know if it works???