This is the sketch I use to test the SMD LED boards I have on Tindie.