[an error occurred while processing this directive] [an error occurred while processing this directive]
Ответ:
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено AndreyKo 21 декабря 2001 г. 10:13
В ответ на: Пример программы приведите отправлено Белый 21 декабря 2001 г. 07:11

1.В IAR 2.31 выставил Processor configuration: --cpu=4414,AT90S4414
Memory model: Small
2. Xcl file name: v Override default
$TOOLKIT_DIR$\src\template\cfg4414.xcl

3,4.
#pragma language=extended

#include
#include "string.h"

//----------------------------------
void main(void )
{
unsigned char i;


//--------------------------
DDRB=0xFF;
DDRD=0xFF;
PORTB=0xFF;
PORTD=0xFF;

for(;;)
{
PORTD=~PORTD;
for(i=0;i<255;i++);

}
}

Один фиг не работает

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru