I use an STC89C52 singlechip to control the LED to flash. The light flashed in a row and the speed improved. At this practice, I want to mimic the process of water drip drop down. I add a timing function in the program to finish every time difference while water falling.