51小程序--流水灯+花样灯

  #include <reg51.h> typedef unsigned char u8; typedef unsigned int u16;   #define PORT P1   void delay(unsigned char time) {   unsigned int j = 100000;   for(; time > 0; time--)   for(;j > 0; j--); }
相关文章
相关标签/搜索