Not knowing how "dynamic" your values are, Have you considered the delays in communicating from the Python to the Arduino to the driver?
Do you have a feeling what the dynamic values should be? You could use a case statement switching on/off a number of LEDs on different output pins to get a feeling of what numbers are being passed through.