Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void printaj(char stavek[])
- {
- for(int i=0; i < strlen(stavek); i++)
- {
- LCD_Data(stavek[i]);
- }
- }
- int main(void)
- {
- sysclk_init();
- Init();
- LCD_Init();
- delay_ms(200);
- printaj("Hello World");
- while(1)
- {
- }
- }
- void Init()
- {
- PORTA_DIRSET = 0xFE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement