Код: Выделить всё
#include <mega8>
#include <delay>
#include <stdio>
void main(void)
{
UCSRA=0x00;
UCSRB=0x08;
UCSRC=0x86;
UBRRH=0x00;
UBRRL=0x33;
PORTD=0x00;
DDRD=0xFF;
while (1)
{
printf("15975:");
PORTD.2=1;
delay_ms(50);
PORTD.2=0;
delay_ms(50);
};



