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 / Replies / I can see that you will get

I can see that you will get

|

Microcontroller › PIC › DS1621 interface with PIC18F4520 using C18 compiler › I can see that you will get

October 31, 2012 at 4:51 pm #8706
AJISH ALFRED
Participant

I can see that you will get output like the following only;

TEMP:0#C

Is it??

Because from the main function you are only calling the following functions related to lcd

        lcd_write_data(‘T’);
        lcd_write_data(‘E’);
        lcd_write_data(‘M’);
        lcd_write_data(‘P’);
        lcd_write_data(‘:’);

         lcd_write_data(48);        // Display the temperature
        lcd_write_data(0xDF);
        lcd_write_data(‘C’);

 

You are not accessing the temperature data which you’ve stored in the register using i2c communication.

RSS Recent Posts

  • Measuring controller current output with a meter December 12, 2025
  • What is involved to convert a small town to fiber optic? December 12, 2025
  • Droplet1 December 12, 2025
  • Help to Identify capacitor fault December 12, 2025
  • Dog fence help December 12, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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