void TIMED(unsigned int x ); main() { unsigned int clac = 0xff; while(1) { P0 = clac; clac--; TIMED(300);
} }
void TIMED( unsigned int x) { unsigned int y,i; for(i = x; i > 0; i--) for(y = 110; y > 0; y--); }
『本文转载自网络,版权归原作者所有,如有侵权请联系删除』