Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi
I found my mistake in the a2d code.
The project is a thermometer using p18f452 and lm335,
The temperature value is sending to 2x16 lcd as string-
{"Temp -/+ xxx^C"}
I forgot to use the "#INCLUDE <STRING.H>"
:sad:
Now it's working good/
Shlomo
Hi everyone/
I'm having a problem using A2D code with mplab c18 .
can anyone tell me if this part of example code is correct?
and if not, whats wrong?
int result;
......
......
......
result=ADRESH;
if(result==0xff)
{
PORTB=0xaa;
}
else
{
PORTB=0xbb;
}
Thanks
Shlomo
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.