|
/* Константы в программной памяти *.__flsah unsigned char ftime []={6,0xb3,0x70,0x65,0xbc,0xc7,0x3a};
__flash unsigned char fdata []={5,0xe3,0x61,0xbf,0x61,0x3a};
__flash unsigned char fprosmotr[]={8,0xa8,0x70,0x6f,0x63,0x6d,0x6f,0xbf,0x70};/* Данные в SRAM */
unsigned char time [sizeof ftime];
unsigned char data [sizeof fdata];
unsigned char prosmotr[sizeof prosmotr];void main (void)
{
//
// Инициализация данных в SRAM
//
memcpy_P((char *)time, ftime, sizeof ftime);
......
while (1);
}
E-mail: info@telesys.ru