Files
2023-03-13 08:36:51 +00:00

38 lines
625 B
C

/*
* main.c
*
* Created on: 10.01.2014
* Author: q242695
*/
#include "main.h"
//#include "nokia_5110.h"
int main (void)
{
/*char *str="Love Silvia";
const unsigned char bmp[]={0x7E, 0x81, 0x95, 0xA1, 0xA1, 0x95, 0x81, 0x7E};
DDRB |= BIT(PB0); // I/O
LCD_Init(); // LCD initialization
LCD_Cls(); // clear the LCD
LCD_SetContrast(0x40);
LCD_WriteXY(0,0,str);
LCD_WriteXY(1,1,str);
LCD_WriteXY(2,2,str);
LCD_GotoXY(0,5);
LCD_Char('*');
LCD_DrawBmp(35,3,8,8,bmp);
*/
DDRA=0xff;
while(1)
{
PORTA ^= 0b00010000;
_delay_ms(100);
}
return 0;
}