Raspberry Pi Pin Numbering Introduction
There are three methods for numbering Raspberry Pi’s GPIO:
1. Numbering according to the physical location of the pins, from left to right,
top to bottom – the left is odd and the right is even.
2. Numbering according the GPIO registers of BCM2835/2836/2837 SOC.
3. Numbering according the GPIO library wiringPi.