[Solution] connect 2 RGB unit



  • import unit
    
    rgb3 = unit.get(unit.RGB, unit.PORTA)
    
    # set 1-3 rgb in first RGB unit
    rgb3.setColor(1, 0xffffff)
    rgb3.setColor(2, 0xffffff)
    rgb3.setColor(3, 0xffffff)
    
    # set 4-6 rgb in second RGB unit
    rgb3.setColor(4, 0xffffff)
    rgb3.setColor(5, 0xffffff)
    rgb3.setColor(6, 0xffffff)
    
    # if you have three or more RGB unit, 
    # you can use 7, 8, 9 as the number
    

    0_1676981825053_PXL_20230221_121526074.jpg