What is the LINUX GPIO no (SYSFS) for GPIO 5 and 6
Options
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
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral