Arduino ,How I can see the value (0 or 5) on my screen, where I connected my sensors output to analog input A0,A1.. pins I am working in my project and I want to see the output of my sensors as (0 or 5).
The maximum read was 770 and the minimum read was 0. So, how can I see the  value (0 or 5) on my screen, where I connected my sensors output to analog input A0, A1 pins.
I did the following code, but it didn't work:

void setup(){
Serial.begin(9600);   
}
void loop()
{
if (analogRead(0)&lt;385)
      Serial.print("0");
 else
      Serial.print("5");
      Serial.print('  ');

if (analogRead(1)&lt;385)
      Serial.print("0");
   else
      Serial.print("5");
      Serial.print('  ');

if (analogRead(2)&lt;385)
      Serial.print("0");
  else
      Serial.print("5");
      Serial.print('  ');

if (analogRead(3)&lt;385)
      Serial.print("0");
  else
      Serial.print("5");
      Serial.print('  ');

if (analogRead(4)&lt;385)
      Serial.print("0");
  else
      Serial.print("5");
      Serial.print('  ');

if (analogRead(5)&lt;385)
      Serial.print("0");
  else
      Serial.print("5");
      Serial.print('  ');

delay(1500); 
}


Note: I have 5 light sensors in my circuit.
You can use DigitaRead command instead of analogread. It will give result in only 1 or 0. Hopefully this will help you.