Issues with Respeaker 4 LEDs

I am Spandan from Indian Institute of Technology, Bhubaneswar. I am doing
acoustic source localization experiment with the ReSpeaker 4. I would like
to know about how to blink the ReSpeaker hat LEDs according to my direction
of arrival.

Thank you.

M.Tech ECE

*Disclaimer: *This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail. Please notify
the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system. If you are not the
intended recipient you are notified that disclosing, copying, distributing
or taking any action in reliance on the contents of this information is
strictly prohibited.

Hi there,

If you use the respeaker 4 mic pi hat for raspberry pi, you can refer to

position = doa.get_direction()

Here is the library for pixel-ring.


best rgds