Sep 9, 2018 · 1 min read
I answered my own question. To reverse the motor direction just reverse the order of the rows within halfstep_seq array. Or create another array and call it reverse_seq and reverse the order of the rows and use that array in your nested for loop.