Beruflich Dokumente
Kultur Dokumente
#include <avr/io.h>
#include "LCDa.h"
#define mychar 0 // define address my char
char array[8]={0xe, 0x1f, 0x11, 0x11, 0x1f, 0x11, 0x11, 0x11};
int main(void)
{
lcd_init();
create_char(mychar,array); //saving array to cgram on address my char
lcd_gotoxy(0,0);
lcd_puts("my char is:");
lcd_putchar(mychar) ; //show mychar
while(1)
{
//TODO:: Please write your application code
}
}