The numbering of the gpio read does not match the gpio port numbering, If you want you put here the table that did of equivalences of each port with its numbering of read.
Namba gpio Soma haioani namba ya ya bandari gpio, Kama unataka mimi kuweka hapa Jedwali la equivalences kwa kila bandari na namba yake ya Soma nilifanya.