[an error occurred while processing this directive]
|
#define LCD_DATA (*((volatile unsigned char*)(0x8000)))
#define LCD_COMMAND (*((volatile unsigned char*)(0x8101)))
#include "8x8Win.h"
#pragma type_attribute=__flash
unsigned char hello[] ="Hello Word Vasia\0"; }
#pragma type_attribute=__flash
#pragma type_attribute=__flash
unsigned char InitData[]={
0x00,0x0F,0x40,
0x1E,0x00,0x41,
0x00,0x00,0x42,
0x1E,0x00,0x43,
0x00,0x00,0x80,
0x00,0x00,0x98,
0x00,0x00,0xA4,
0x01,0x02,0x21,
0x00,0x00,0x24
};
//*****************************************************
void InitLCD(void)
{
int i;
for(i=0;i
LCD_DATA =InitData[i++]; lcdb();
LCD_DATA =InitData[i++]; lcdb();
LCD_COMMAND =InitData[i++]; lcdb();
}
//***********************************
Ответы
Перейти к списку ответов
|||
Конференция
|||
Архив
|||
Главная страница
|||
Содержание