This is a counter. I use a STC89C52 singlechip to control the lattice screen to make a count. When I upload the program into singlechip, the lattice screen becomes count the number. Actually, the lattice screen is flash by every row scanning in a short period and looks like all the led lights are flash at the same time.