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