[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]

Отправлено FastAVR 25 февраля 2002 г. 16:49
В ответ на: см ссылку. отправлено Sergey 25 февраля 2002 г. 13:49

? а как же сейчас - так, что ли:

...
#define D1 PIND_.b.b2 //кнопка 1
#define D2 PIND_.b.b3 //кнопка 2
#define sv1 PORTB_.b.b0 //светодиод 1
#define sv2 PORTB_.b.b1 //светодиод 2
void init_port(void){
PORTB=0x00;
DDRB=0x03;
PORTD=0x00;
DDRD=0x00;
...

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

Ответы



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

E-mail: info@telesys.ru