You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • 959? Do you mean 595?

    How do you have them wired? If you mean 595s, review the description of the two clock pins. The led is flashing between the two spi.send()s, I'll wager. I think the way to fix is to put the latch clock on a different gpio pin and pulse it high after you send the two bytes to it, then it will only latch the data in the shift register once it has all the data.

    Also, why two spi.send?
    Why not spi.send([i>>8,i],b8)?


Avatar for DrAzzy @DrAzzy started