Пт окт 13, 2017 20:48:37
#include <util/delay.h>
#include <avr/io.h>
#define F_CPU 10000000UL;
int main(void)
{
DDRB=0xff;
while(1)
{
PORTB=0xff;
_delay_ms(1000);
PORTB=0x00;
_delay_ms(1000);
}
}
Пт окт 13, 2017 21:15:45
Пт окт 13, 2017 21:21:33
#define F_CPU 16000000UL;
Пт окт 13, 2017 21:55:18
#define F_CPU 16000000UL
#include <avr/io.h>
#include <util/delay.h>