23 Mart 2008 Pazar

8051 için c dili yazılmış binary sayıcı



#include<89c51rd2.h>

void main()
{ P2=0;
while(1)
{ while(P1_0);
while(!P1_0);
if(P2==0xff)
{
P2=0;
}
else
{
P2=P2+1;
}

}

}

Hiç yorum yok:

Güvenlik Politikası

Privacy Policy Privacy Policy Ekrem AYDOĞDU built the Düzhesap app ...