My name is Toan. And I'm using iMX6UL-EVK. Currently, I'm trying to configure GPIO and get a trouble. In schematic, I see that pin D2 is usable as GPIO and find out number of pin. And I found that pin is gpio1.IO. Because It's belong to GPIO1 so I don't need to plus with any value. Then I executed:
$ echo 25 > /sys/class/gpio/export
$ echo "out" > /sys/class/gpio/gpio25/direction
$ echo 1 > /sys/class/gpio/gpio25/value
Then I test with a LED but the light is quite weak. Then I try to set:
$ echo 0 > /sys/class/gpio/gpio25/value
But the LED is still lighting.
I tried to test with 3.3V power in this board, LED is light very strong.
What should I do now ? Do I do wrong somewhere ?
Thank you so much,