I made a little program. I am begginner in this subject. I have a bit mistake, and i don’t know where is it.
From 254 to 259 lines of code are ran, but the condition should filter ot that because off oblites_on variable value is must be false.
When i wrote that value, is true. There is only one place, where i put that value true, is row 225, but i tested it, it didn’t run in that else.
Sorry, it's just too difficult to understand what the problem is you're having. Your description is very vague and it seems like maybe the line numbers you are referencing don't match the program you posted.
Please provide a much more detailed description of your problem so we can help you.
My advice is to add some Serial.println() in strategic locations in your sketch and then run it with the Serial Monitor open so you can see what is happening in the code.
@johnwasser makes an excellent point about how compiler warnings can be incredibly useful in pointing out potential problems in your code. I recommend always paying attention to the compiler warnings shown in red in the black console window at the bottom of the Arduino IDE window (you need to scroll up to see them all).
By default, the Arduino IDE has compiler warnings turned off. You need to set File > Preferences > Compiler Warnings to "All".
Note that warnings are only the compiler pointing out things that might be problems. It's very common for beginners to confuse warnings with errors. They are not the same thing. I recommend always fixing the code that causes these warnings in your own work. However, some compiler warnings can be safely ignored. Sometimes you'll see warnings that are from some library code you didn't write. Take a look at these, but don't panic and assume "it's red text so there must be something wrong".