The picture shows the schematic diagram of the system hardware design. In the figure, the ULN2803 is an 8-bit reverse driver.
System hardware design schematic
1 Use the P1 interface to control the on and off of eight LEDs of 8 colors.
2 requires 8 LEDs to be sequentially lit and extinguished.
The requirement for 3 sequence lighting and extinction is that each lamp flashes 10 times and shifts left 1 time.
Twinkle System Technology Co Ltd , https://www.pickingbylight.com