planck_epoch:
I would like to iterate through an 8 step sequence with 8 led's. Each led will turn on and off when it iterates through, I would have a tempo/bpm pot to alter the tempo range from 30 - 240bpm.
If this is the main goal, I'd set up a self-resetting timer which increments a (counter) value, the contents of which are used as the argument for a switch/case structure. Put the LED code within the case(s).
Check out this state machine tutorial by @larryd.