Closed domomib closed 2 years ago
Fix error pin value for latchPin, clockPin and dataPin.
Hi @domomib. Thanks for your pull request. The numbers in the sketch are the pin numbers on the Arduino board, not the pin numbers on the 74HC595 chip. The sketch program is running on the Arduino board, so this is why it is the Arduino board pin numbers that must be configured and controlled by the sketch code.
The situation might be more clear from reading the companion tutorial:
https://docs.arduino.cc/tutorials/communication/guide-to-shift-out
Fix error pin value for latchPin, clockPin, dataPin.