// Learn about the ESP32 WiFi simulation in
// https://docs.wokwi.com/guides/esp32-wifi
#include <LiquidCrystal_I2C.h>
#define botao 14
LiquidCrystal_I2C LCD = LiquidCrystal_I2C(0x27, 16, 2);
int Vb;
void setup() {
Serial.begin(115200);
pinMode(botao, INPUT);
LCD.init();
LCD.backlight();
LCD.setCursor(0, 0);
LCD.print("IFSP Catanduva");
LCD.setCursor(0, 1);
LCD.print("Bem Vindo");
delay(3000);
LCD.clear();
LCD.setCursor(0, 0);
LCD.print("Online %d");
LCD.setCursor(0, 1);
LCD.print("Updating ...");
if(digitalRead(botao))
{
while(digitalRead(botao));
Vb++;
if(Vb > 0 )
{
LCD.clear();
LCD.setCursor(0, 0);
LCD.print("Fuck You Bro");
LCD.setCursor(0, 1);
LCD.print("Thanks Bro");
}
}
}
void loop() {
}