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

tfungx
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.
Tagged:
Tagged
Categories
- 287 All Categories
- 104 Announcements & News
- 47 Product News - New Product/Product Change Notice/ End-of-life
- 179 Welcome Developers!
- 49 Unboxing & Project Sharing
- 18 Tech Updates
- 380 UP Products
- 6 UP Xtreme i11
- 15 UP Squared 6000
- 38 UP Squared Pro
- 126 UP Xtreme
- 796 UP Squared
- 1.4K UP Board
- 86 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 41 UP AI Edge
- 213 Starter Kits & Peripheral