Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

74hc595 multi doesn't work #2

Open
Nezaemmy opened this issue Jan 15, 2025 · 2 comments
Open

74hc595 multi doesn't work #2

Nezaemmy opened this issue Jan 15, 2025 · 2 comments

Comments

@Nezaemmy
Copy link

I tried 3 74hc595 but it writes to only the first one. I'm using esp32s3.

#include <Arduino.h>
// читаем hc165 и выводим соответственно на hc595

// 74hc595
#define CLK_595 10
#define CS_595 12
#define DAT_595 11

#include <GyverShift.h>

GyverShift<OUTPUT, 3> outp(CS_595, DAT_595, CLK_595);

void setup() {
     outp.write(0, 1);
     outp.write(7, 1);
     outp.write(15, 1);
     outp.write(23, 1);
   
     outp.update();
}

void loop() {}
@GyverLibs
Copy link
Owner

  • check wiring
  • try to #define GSHIFT_DELAY 10 before library include
  • try another MCU

@Nezaemmy
Copy link
Author

Nezaemmy commented Jan 15, 2025

  • check wiring
  • try to #define GSHIFT_DELAY 10 before library include
  • try another MCU

Wiring is ok, I tested with other Library.
I don't have other MCU right now.
Where exactly can I put #define GSHIFT_DELAY 10 in the code above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants