Have you tried printing the values that you are testing with the ifs ? Are they what you expect ?
Is the code entering the code blocks after the ifs ? Put some Serial.print()s in there to fund out ?
What do pins 8 and 9 do ?
Have you tried printing the values that you are testing with the ifs ? Are they what you expect ?
Is the code entering the code blocks after the ifs ? Put some Serial.print()s in there to fund out ?
What do pins 8 and 9 do ?