hey guys...
i wanted to know how to make multiple conditions such that each condition has arange of values...i have written the following code but doesnt work
help me quick plz.
It is aPIC program for monitoring the ADC value and sending to LCD
if(ADRESL==0x00)
{lcddata('O');
DELAY(2);
lcddata('F');
DELAY(2);
lcddata('F');
DELAY(2);
}
else if(0x00<ADRESL<0x70)
{
lcddata('S');
DELAY(2);
}
else
{
lcddata('M');
DELAY(2);
}