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 are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 2 guests