arduino / reference-en

Editable source for the Arduino Reference
https://www.arduino.cc/reference/en/
Other
165 stars 732 forks source link

Update shiftOut.adoc #883

Closed domomib closed 2 years ago

domomib commented 2 years ago

Fix error pin value for latchPin, clockPin, dataPin.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

domomib commented 2 years ago

Capture d’écran 2022-05-31 à 21 28 54 Fix error pin value for latchPin, clockPin and dataPin.

per1234 commented 2 years ago

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