Putting artificial delays in a char driver

Felix Varghese felixv1986 at gmail.com
Thu May 19 07:51:37 EDT 2011


Hi,

I can't say I have understood your scenario completely. Maybe you
could turn your LED on when you want to (say in the ISR) and then
start a kernel timer of sufficient duration. In the timer expiry
handler, you could switch it off. By adjusting the duration, you could
make sure that the LED stays on long enough to be visible.

Regards,
Felix.



More information about the Kernelnewbies mailing list