Power & Source of Big Ideas

PWM on Android

Moderators: chensy, FATechsupport


I'm trying to dimming a led with PWM and the libfriendlyarm-hardware.so library but I'm only able to set the frequency and not the duty cycle.

Do you know how can I manage the brightness of my led ?


In absence of any answer..,
Can you provide the source code of your library please ?
Maybe I can implement this by myself.

Hi Sidi,

did you make any progress? Currently I am facing the same challenge: controlling a TFT backlight with PWM.

Final result should be integrating the PWM signal into the Android system brightness slider.

Any suggestions?

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5170 on Fri Jan 17, 2020 12:54 am

Users browsing this forum: No registered users and 1 guest