How to use the 10 segment LED Bar with the MY9221 on Pi Pico

Has anyone a library to enable the use of the 10-segment LED Bar meter with the MY9221 on a Pi Pico?

This is a Grove LED Bar library that should also work on the Raspberry PI pico