2 Replies Latest reply on Nov 26, 2013 3:24 AM by arduino_4_life

    SYSFS Mapping of GPIO for Digital and Analog pins

    ctowen

      I read the following blog and I am confused about the analog and digital pins and how they map to sysfs.

       

      Intel Galileo - Programming GPIO From Linux - Malinov Family Web Presence

       

      Can someone please write down a simple table of what digital pins map to what sysfs GPIO folder?

       

      For example:

      Galileo Digital Pin 0 <-> SYSFS GPIOX

      Galileo Digital Pin 1 <-> SYSFS GPIOX

      Galileo Digital Pin 2 <-> SYSFS GPIOX

      Galileo Digital Pin 3 <-> SYSFS GPIOX

      Galileo Digital Pin 4 <-> SYSFS GPIOX

      Galileo Digital Pin 5 <-> SYSFS GPIOX

      Galileo Digital Pin 6 <-> SYSFS GPIOX

      Galileo Digital Pin 7 <-> SYSFS GPIOX

      Galileo Digital Pin 8 <-> SYSFS GPIOX

      Galileo Digital Pin 9 <-> SYSFS GPIOX

      Galileo Digital Pin 10 <-> SYSFS GPIOX

      Galileo Digital Pin 11 <-> SYSFS GPIOX

      Galileo Digital Pin 12 <-> SYSFS GPIOX

      Galileo Digital Pin 13 <-> SYSFS GPIOX

       

      Same for Analog?

       

      Thanks!