#include "liblcd.h"
#include <stdio.h>
/*
int main() {
LCD_Init();
LCD_PrintXY(6, 0, "Ola!");
LCD_PrintXY(3, 1, "ATmega328P");
while(1);
}
*/
/*
int main() {
LCD_Init();
int cont = 10;
char str_cont[5];
while (1) {
LCD_PrintXY(4, 0, "Contando:");
sprintf(str_cont, "%2d", cont);
LCD_PrintXY(7, 1, str_cont);
cont--;
if (cont < 0)
cont = 10;
_delay_ms(1000);
}
}
*/
int main() {
// https://maxpromer.github.io/LCD-Character-Creator/
unsigned char sino[8] = { 0x04, 0x0E, 0x0E, 0x0E, 0x1F, 0x00, 0x04, 0x00 };
LCD_Init();
LCD_CustomChar(sino);
LCD_GoToXY(0, 0);
LCD_Char(0);
LCD_GoToXY(2, 0);
LCD_Print("Lembrete");
while(1);
}