LED control on Mic Array v2

HI Ning



please try below code and modify the 0x01 to [set brightness, range: 0x00~0x1F]. thanks.

[code]

import time

from pixel_ring import pixel_ring

if name == ‘main’:
pixel_ring.change_pattern(‘echo’)
while True:

    try:
        pixel_ring.set_brightness(0x01)     
        pixel_ring.think()
    except KeyboardInterrupt:
        break


pixel_ring.off()
time.sleep(1)<e>[/code]</e></CODE></r>