LED control on Mic Array v2

Hi,



I am able to change the colour of the LED ring on the Mic Array v2, but for some reason changing the brightness has no effect. I also can’t control individual LEDs using the “pixel_ring.write(6, data)” method.



Any idea how to change the brightness?



Many thanks

Ning

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>

Thank you Bill. I got it working in the end. The brightness setting seems to only work if I change the LED colour, otherwise there is no effect.



Best

Ning