Need help with program

pranoy:

  1. What is the HIGH for output voltage of arduino?
  2. How can i compare the output of a sensor to HIGH value????
  1. Depends on the source voltage.
  2. Depends on the sensor.