基于C8051F单片机的跑马灯程序#include//C8051F31X系列头文件#defineSYSCLK24500000//SYSCLKfrequencyin24.5MHz#defineT0_1ms65536L-1*(SYSCLK/12000L)#defineTH0ST0_1ms>>8#defineTL0ST0_1msunsignedchardat;bitflag;unsignedintcount;