Skip to content

Instantly share code, notes, and snippets.

@arilop1994
Created February 14, 2019 19:05
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/4dcaca189e7b4ecc6bf9680a46a6bfdf to your computer and use it in GitHub Desktop.
Save arilop1994/4dcaca189e7b4ecc6bf9680a46a6bfdf to your computer and use it in GitHub Desktop.
char weekDay[][4] = {"Dom", "Lun", "Mar", "Mie", "Jue", "Vie", "Sab" };
static PCD8544 lcd;
//año, mes, dia, hora, minutos, segundos y dia de la semana (0=Domingo hasta 6=Sabado)
//Si se escribe una hora o fecha inexistente se puede interferir con la normal operación del RTC
DateTime dt(2019, 2, 7, 15, 58, 0, 4); //año, mes, dia, hora, min, seg, diasem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment