Grove LED Bar port

How can I set the Grove LED Bar to use another port? I would like to use multiple LED bars, but they seem to be tied to port 8. Thanks,

When use another port to connect LED bar, you need to change the line 25~31 in LED_Bar.cpp file. Before change, you need see the microcontroller schematic. Here is a example for your reference:

sorry to distrube you.
I got a Grove-LED Bar(LED05031P) and a base shield,then I followde the sequence as the pages said, open the project single_work,and,It can upload into the Arduino Leonardo successfully,but …It seems not work.
can you offer me another demo pls?
Thank you very much,I’ll wait you online :slight_smile: