@@ -0,0 +1,342 @@
+from gadgets.led import ARRAY_LED%0Aimport time%0A%0Adef lighting(l):%0A%09for j in range(2):%0A%09%09for i in ps:%0A%09%09%09l.blink(%5Bi%5D,1,0.1)%0A%09%09for k in ps_rev:%0A%09%09%09l.blink(%5Bk%5D,1,0.1)%09%0A%09for j in range(3):%09%09%0A%09%09l.blink(ps,3,0.1)%0A%09%09time.sleep(0.5)%0A%0Aps = %5B29,31,33,35,37%5D%0Aps_rev = ps%5B::-1%5D # reverse list%0Al = ARRAY_LED(ps)%0Afor i in range(10):%0A%09lighting(l)%0Al.cleanup()%0A

Create test_array_led.py