Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.3k stars 446 forks source link

J8 pin Different #549

Closed alan543 closed 2 years ago

alan543 commented 2 years ago

請問為什麼你的J8 - 40way 和官方不一樣 image

image

官方 image

FDelporte commented 2 years ago

Google translate tells me this is your question: "Why is your J8 - 40way different from the official one?" ;-)

"Official numbering of the header" = BCM numbering Pi4J V1 under the hood uses the WiringPi library which has indeed a different numbering.

On this page this is explained in more detail: https://pi4j.com/getting-started/understanding-the-pins/ and in this image you get both BCM and WiringPi side-by-side