You need to set the pinMode for pins 8 and 9, to OUTPUT, so that the back sensor does not do anything.
You should use meaningful names for the pins. What is connected to pins 7, 11, 12, and 13?
You need to set the pinMode for pins 8 and 9, to OUTPUT, so that the back sensor does not do anything.
You should use meaningful names for the pins. What is connected to pins 7, 11, 12, and 13?