Hi,
Is there a way in android to control the GPIOs, and the PWM GPIO in particular?
Thanks
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 BT_LED -> ../../devices/soc/leds-qpnp-10/leds/BT_LED
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 UserLED0 -> ../../devices/soc/leds-qpnp-29/leds/UserLED0
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 UserLED1 -> ../../devices/soc/leds-qpnp-29/leds/UserLED1
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 UserLED2 -> ../../devices/soc/leds-qpnp-29/leds/UserLED2
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 UserLED3 -> ../../devices/soc/leds-qpnp-21/leds/UserLED3
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 WiFi_LED -> ../../devices/soc/leds-qpnp-9/leds/WiFi_LED
lrwxrwxrwx 1 root root 0 1970-01-04 08:32 lcd-backlight -> ../../devices/soc/900000.qcom,mdss_mdp/900000.qcom,mdss_mdp:qcom,mdss_fb_hdmi/leds/lcd-backlight
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 led:flash_0 -> ../../devices/soc/qpnp-flash-led-30/leds/led:flash_0
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 led:flash_1 -> ../../devices/soc/qpnp-flash-led-30/leds/led:flash_1
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 led:switch -> ../../devices/soc/qpnp-flash-led-30/leds/led:switch
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 led:torch_0 -> ../../devices/soc/qpnp-flash-led-30/leds/led:torch_0
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 led:torch_1 -> ../../devices/soc/qpnp-flash-led-30/leds/led:torch_1
lrwxrwxrwx 1 root root 0 2019-01-29 04:35 mmc0:: -> ../../devices/soc/74a4900.sdhci/leds/mmc0::
lrwxrwxrwx 1 root root 0 1970-01-04 08:32 wled -> ../../devices/soc/qpnp-wled-27/leds/wled
msm8996:/sys/class/leds #