|
|
#include "ina90.h"
#include "iom128.h"
//
#define BIT0 0x01
void Delay(unsigned long x)
{
while(x--);
}
//-----------------------------------------------------
void main(void)
{
DDRC=BIT0;
while(1);
{
if(PORTC&BIT0) PORTC&=~BIT0;
else PRTC|=BIT0;
Delay(3000000);
}
}
E-mail: info@telesys.ru