Search the Community
Showing results for tags 'inner shield pins io26 to io41'.
Found 1 result
GPIO Pin numbering and offset for ArtyZ7-20 Folks, how do I calculate the offset for the digital shield on the Artyz7-20. I am testing pins IO26 to IO41 on the inner shield PINS. root@arm:/sys/class/gpio# ls export gpiochip1020 gpiochip902 unexport The LED'S are here and working fine off the same GPIO in the design as leds_4bits root@arm:/sys/class/gpio# cat gpiochip1020/ngpio 4 They work fine with echo 1020> export echo out > gpio1020/direction echo 1 > gpio1020/value How do I figure out where the Digital shield Pins start for IO26 to IO41 There are 118 of them on the gpiochip902, some have to be the buttons and switches as I included those in the design too root@arm:/sys/class/gpio# cat gpiochip902/ngpio 118 What teh recipe for mapping these to the Linux gpio numbering. Thanks Laurence