How to connect ESP32C6 to SN74HC165N

That worked!!! Thank you all.

For others, the only thing I changed was the pin definitions:
#define LOAD_PIN D4
#define CLOCK_PIN D5
#define DATA_PIN D3

1 Like