Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Interfacing Lm35 and LCD

Status
Not open for further replies.

nomnom

New Member
Hi , i have problem with my LM35 for not sure for the output and nothing display either wht wrong my code anyways
 

Attachments

  • Roling.txt
    12.6 KB · Views: 148
hi,
One of the problems is that the code was written for a 16F84 and you are using a 16F877A.

The CBLOCK is starting at 0x0C, which is OK for a 16F84 but not a 16F877A, it should be 0x020 as GP reg start address.

You must change the code to suit a 16F877A.

EDIT:
With a 16F84A and a 32kHz xtal the program runs OK in Oshonsoft Sim
 

Attachments

  • AAesp03.gif
    AAesp03.gif
    6.4 KB · Views: 140
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top