print valur from different tabs

Hello friends i have made a program with many tabs, it works ok, the problem is that my lcd 16x2 doesn´t print values from another tab or even a simple word lcd.pint(“hola”).

#include <LiquidCrystal.h>
//LiquidCrystal lcd(52, 50, 48, 46, 44, 42);

const int rs = 52, en = 50, d4 = 48, d5 = 46, d6 = 44, d7 = 42;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup()
{
//Serial.begin(9600);
//lcd.begin(16, 2);
setup_botones();
setup_potenciometro();
setup_ds3231();
delay(10);
}

void loop()
{
botones();
potenciometro();
lcd.setCursor(0, 1); //< --------doesn´t print
lcd.print(conteo3); //< --------
}

conteo3 is inside botones(); i have made it “extern int” it doesn´t print, i have moved lcd.print inside botones(); it doesn´t print, i have changed conteo3 to simple word lcd.print(“hola”); it doesn´t print, i have copy paste a simple sketch from internet “hello world” in lcd, it prints in that case, why mind doesn´t print? im not an expert but i have looked for information but failed, please help

is for atmega2560

is this the answer?

https://liudr.wordpress.com/2011/02/16/using-tabs-in-arduino-ide/

//lcd.begin(16, 2);

What happens when you do not comment out the lcd.begin?

sorry forgot that, i was trying to use lcd.begin in another tab where botones 3 is located, now changed but failed again