Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6393

Camera LED blinking with frequencies > 200 Hz [Visible Light Communication]

$
0
0

I'm currently working on a Visible Light Communication project and need some help to programm a fast blinking (>200Hz) LED Flashlight. My device is a HUAWEI CUN-L21 with firmware B115 and it is also rooted.

I already programmed an app using Android SDK that turns the Flashlight on and off with a specific delay using Thread.sleep(delay). The problem is, that even if I set the delay to just a few milliseconds, the max. frequency I get is around 35Hz which is too low.

I also tried to blink it fast via the timer trigger in shell. But the frequency was to low as well.

So here is my question: Is there any other way to get the LED to blink in a frequency of 200 Hz? Do I have to modify the LED driver in the kernelspace? And if so, how can I do that?


Viewing all articles
Browse latest Browse all 6393

Trending Articles