I am trying to setup up a output GPIO pin on my Nitrogen6X board, but I can't change the file
value. I navigated to
/sys/class/gpio/ and I exported my pin (GPIO18) with
echo 18 > export. I was then able to change
direction with the command
echo out > direction and it seems like I should be able to change the
value file the same way, with
echo 1 > value, but this doesn't seem to be working. I am logged in as root and the permissions on both the
direction file and the
value file are the same:
-rw-r--r-- 1 root root.
Does anyone have an idea why this would not be writing to this file?
Thanks so much for all of your help!