EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / how to display timer values that is TH0 and TL0 on 16*2 LCD using 89s51

how to display timer values that is TH0 and TL0 on 16*2 LCD using 89s51

|

Microcontroller › 8051 › how to display timer values that is TH0 and TL0 on 16*2 LCD using 89s51

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 4 months ago by GANEEV SINGH.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 24, 2011 at 3:43 pm #1282
    ZOBI
    Participant

    i want to display timer 0 values that is TH0 and TL0 on LCD but i am facing many problems below is the programe to initialize , to write , read for LCd display at its end there is written “data1:” below which i write that converts hex to ASCII code but its not working , if any body know how to display then do let me know
    i will saved the TH0 in R2 and TL0 in R1 register change the below programe assuming that R2=TH0, R1=TL0

    December 12, 2016 at 5:41 am #14267
    GANEEV SINGH
    Participant

    Hi there

    Remember, LCDs need character values, so firstly convert this ASCII form into a character string and then pass this string to the LCD dislpay function. You can use sprintf() to convert your integer ASCII value to a character string.

    This might help :)

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • isolating S-params in of PCB board without connectors April 11, 2026
  • Assistance locating a 'trail' camera gadget, please ? April 10, 2026
  • Raise your hand if your car had one of these: April 10, 2026
  • Some opamp advice please April 10, 2026
  • Voltage comparator circuit verification April 10, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise