Skip to content

Instantly share code, notes, and snippets.

@arilop1994
Created February 14, 2019 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arilop1994/ebfe6c461e9c98531ff6a474c79d44d5 to your computer and use it in GitHub Desktop.
Save arilop1994/ebfe6c461e9c98531ff6a474c79d44d5 to your computer and use it in GitHub Desktop.
void setup() {
lcd.begin(84, 48);
Serial.begin(115200); // Abre el puerto serie para mostrar valores leídos
Wire.begin(); //Inicializa la comunicacion con el RTC
rtc.begin(); //Inicializa el RTC
rtc.setDateTime(dt); //Establece fecha y hora cargada en "dt"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment