@Happy96 wrote:
Thank you, I initialized my shift register and also removed the for loop.
This is what I ended up doing and it work as intended.
Well, that would pad/trim to 4 elements. Earlier you said you are missing 10 elements. Whatever works for you. 😄