volatile dword counter;interrupt{ counter++;}main{ .... counter = 0; port = 0; while(1) { if(counter == 500000) { counter = 0; port = 0xff - port; } }}
interrupt{ counter++;}
main{ .... counter = 0; port = 0; while(1) { if(counter == 500000) { counter = 0; port = 0xff - port; } }}
E-mail: info@telesys.ru