Are you using SPI? If so I can't help you because I never used it.
Programming the hats is dead easy, but you have to ensure that all the lights except the selected slot light are off.
Just press the programming button, press the hat, enter the key. Repeat.