root@sama5d3-linux:~ echo 20 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 16 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 12 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 10 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 14 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 4 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 2 > /sys/class/gpio/export
root@sama5d3-linux:~ echo 0 > /sys/class/gpio/export
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA20/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA16/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA12/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA10/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA14/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA4/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA2/direction
root@sama5d3-linux:~ echo in > /sys/class/gpio/pioA0/direction
root@sama5d3-linux:~ cat /sys/gpio/pioA20/value
cat: can't open '/sys/gpio/pioA20/value': No such file or directory
root@sama5d3-linux:~ cat /sys/class/gpio/pioA20/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA16/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA12/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA10/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA14/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA4/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA2/value
1
root@sama5d3-linux:~ cat /sys/class/gpio/pioA0/value
1

05-04 01:46