Hi All,
I have the SC66 Android 10 module. I want to run the script file I wrote when android is opened. How can I do this? I am adding it to the init.rc file but nothing happens. I’m waiting for your help.
Thanks.
what is the script file? could you share the type of the file with me ? let me check
I wrote a simple led lighting program using the Sysfs interface.
File name and type: gpio.sh
The content of the file:
#!/system/bin/sh
echo | su
echo 73 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio73/direction
while :
do
echo 1 > /sys/class/gpio/gpio73/value
sleep 5s
echo 0 > /sys/class/gpio/gpio73/value
sleep 5s
done
Now, SC66 havent published GPIO operating User Guide file.
actually, you could refer to the LCD user guide to try config specific GPIO.
have you ever got the LCD user guide? you could get it from local FAE or in our website of home page of Quectel.