- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
The following pages talk about GPIO Pin Multiplexing:
emutex.com/educational/76-intel-edison-gpio-pin-multiplexing-g
communities.intel.com/servlet/JiveServlet/download/250732-82668/gpio_mapping_color_14ww33.1.pdf
Question: is there a way to query/display what is already in /sys/class/gpio, etc, before using the echo commands to change things?
Regards,
Bill
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Bill,
Thanks for your interest in the Intel® Edison Platform.
I was thinking how you could display all the GPIO configuration before using the echo command to change them, and you could create a script that query all the GPIO configurations, for example:
- Create the script
- Make your script
echo
cat /sys/class/gpio
cat /sys/class/gpio/gpio/direction
cat /sys/kernel/debug/gpio_debug/gpio/current_pinmux
…
- Set up permission on a Script
This might give you an idea to create the script and customize it to meet your needs.
Hope this information helps, also, if you have any other question, don't hesitate to contact us back.
Have a nice day!
Regards,
-Yermi A.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Bill,
Thanks for your interest in the Intel® Edison Platform.
I was thinking how you could display all the GPIO configuration before using the echo command to change them, and you could create a script that query all the GPIO configurations, for example:
- Create the script
- Make your script
echo
cat /sys/class/gpio
cat /sys/class/gpio/gpio/direction
cat /sys/kernel/debug/gpio_debug/gpio/current_pinmux
…
- Set up permission on a Script
This might give you an idea to create the script and customize it to meet your needs.
Hope this information helps, also, if you have any other question, don't hesitate to contact us back.
Have a nice day!
Regards,
-Yermi A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Yermi,
Thanks for the information. It is so easy. I should have figured t out myself
Regards,
Bill

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page