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: 149
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
    6.4 KB · Views: 141
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…