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
You can use DigitaRead command instead of analogread. It will give result in only 1 or 0. Hopefully this will help you.