unsigned int HistoryblackLedNum[5];
unsigned int NowblackLedNum;
if (NowblackLedNum>5 && HistoryblackLedNum[0]>HistoryblackLedNum[1]&&HistoryblackLedNum[1]>HistoryblackLedNum[2]&&HistoryblackLedNum[2]>HistoryblackLedNum[3]&&HistoryblackLedNum[4]&&HistoryblackLedNum[4]>HistoryblackLedNum[5]) SetSpeed();