What is the LINUX GPIO no (SYSFS) for GPIO 5 and 6

New Member Posts: 2

Hi,
I'm using a UP Squared 6000 (EHL) board for my project. I find that the SYSFS no for the pin GPIO5 (216) and GPIO6 (214) are not correct. At least, when I try to enable and output to these pins, they don't react to the command.

echo 216 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio216/direction
echo 0 > /sys/class/gpio/gpio216/value

The other GPIOs are ok.

Does anyone know what are their correct SYSFS no ?
Thanks in advance.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Privacy Policy