Skip to content

74hc595 multi doesn't work #2

@Nezaemmy

Description

@Nezaemmy

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() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions