I checked your code and it seems all right. Based on your comment which I quote above, I recommend you check the documentation of your hardware. If you are providing 0000000 values in your string, then all your LEDs should be off. If this first task is not working, then you should investigate further and see what is missing to get this first part working. another suggestion is to explore any example demos provided by the manufacturer, if they exist.
Kf