Sie sind auf Seite 1von 1

#define F_CPU 8000000UL

#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
}
}

Das könnte Ihnen auch gefallen