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:
Answers
-
Hi @tfungx ,
Sorry for the mixup. The correct SYSFS no is 367(pin 13/ GPIO5) and 459(pin15/GPIO6).
Tagged
Categories
- 303 All Categories
- 104 Announcements & News
- 52 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 53 Unboxing & Project Sharing
- 24 Tech Updates
- 592 UP Products
- 6 UP Xtreme i12
- 1 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 13 UP Squared V2
- 41 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 49 UP Squared Pro
- 140 UP Xtreme
- 826 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 215 Starter Kits & Peripheral