1 Reply Latest reply on Dec 4, 2014 8:56 AM by DiegoV_Intel

    Tri-state enabling/disabling for i/o pins


      Hey guys,


      I would like to ask if there is an error in the new rev004 of the Arduino Hardware Guide. The post on the EmutexLab site regarding the setting of GPIO pins says that to disable outputs you need to do:


      # echo low > /sys/class/gpio/gpio214/direction

      and then to enable them again (after all configs):

      echo high > /sys/class/gpio/gpio214/direction

      However, the rev004 of the Arduino HG says the exact opposite (section 11):

      # echo high > /sys/class/gpio/gpio214/direction




      echo low > /sys/class/gpio/gpio214/direction

      I have been using the emutex version and it works. Can anyone verify if this is in fact an error in the doc or something else?