I want to set gpio pin when booting on Beaglebone black.
I made a shell script as below.
#!/bin/bash echo "set modem control pin ------------------" sudo echo 115 > /sys/class/gpio/export sudo echo out > /sys/class/gpio/gpio115/direction sudo echo 1 > /sys/class/gpio/gpio115/value
When I execute the shell script, it worked well.
I registered it on service because I want to set GPIO_115(GPIO3_19) to high when Beaglebone black is powered on
But after Beaglebone black booted, GPIO_115 pin had been low.
I want to know why the pin was low and how to be high when after booting.
please, help me.