Page 1 of 1

ESP32 with shift register

Posted: Tue Sep 28, 2021 10:00 am
by RayC012
Hello everyone
recently, I have been testing shift register (74H165) on Nodemcu 32s - esp32.
referring this website : https://github.com/ifishnet/Arduino-74HC165
I know GPIOs of arduino board are different from esp32 so I switch pins (8,9,11,12) to (14,27,26,25)

However, last 4 buttons didn't work quite properly as expected (first 4 were fine tho)

I just switched the pins from (14,27,26,25) to (25,26,27,14) and of course I matched those pins on shift register as well.
and it worked properly!!

I just couldn't figure out why
anyone knows?

thank you