Help with programming

Hello.

I am trying to stop the ( Hold “#” to unlock ) blink without success.

I have found the routine that makes it blink.

if (blinkState == 1)

    {

        display.setCursor(2, 111);

        display.setTextFont(2);

        display.setTextSize(1);

        display.setTextColor(TFT_BLACK);

        display.print("Hold \"#\" to unlock");

        display.setTextSize(6);

        display.setTextColor(TFT_DARKGREY);

        display.setFreeFont(TT1);

        display.setCursor(58, 56);

        display.print(":");

        display.setTextColor(TFT_BLACK);

        display.setCursor(56, 54);

        display.print(":");

    }

Any help ?

Thank you.

4 lines above that code is the statement:
blinkState = !blinkState;
Change that to:
//blinkState = !blinkState;
blinkState=1;

Alternatively, comment out:
if (blinkState == 1)
thusly:
//if (blinkState == 1)

3 Likes