Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: how to get 32 bit shift register working - HV5523

  1. #1

    how to get 32 bit shift register working - HV5523

    I am on a teensy 3.2 and want to use the open drain function of the HV5523 (by Microchip) shift register.

    The ShiftPWM library is for 8 bit data.

    But the HV5523 has 32 output pins which means it needs 32 bit data shifted out.

    I found this thread for 32 bit data:
    https://forum.pjrc.com/threads/43142...er-issue-AGAIN

    But also seems to want a clockEnablePin. Da I just ignore it for the chip?

    "
    int ploadPin = 8;
    int clockEnablePin = ??;
    int dataPin = 11
    int clockPin = 13;
    "

    Is there a library I should rather use?
    Thanks for any advice.

  2. #2
    seems like this example works.
    http://forum.arduino.cc/index.php?to...83655#msg83655

    right now I am just shifting out the same 8 bit pattern to all 32 LED.
    next test is to see how to make each LED get a unique signal.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •