Quote:
Originally Posted by flasher86
I noticed that they are all the same for no matter what key I press (either 66 or 64 randomly). It reminds me trying to init my touchpad using firmware from SDK (rk26). My touchpad seems to be using completely different way of getting input values rather than simple reading GPIO pin states.
|
It is very bad..
Probably needed to use another port?
Quote:
|
But your app seems to work even if main() function does not finish quickly. What's the trick? Everytime I (and knob also) lengthen the time of executing this function above 2 secs it crashes. Is this caused by this (*GetKeyVal)() function?
|
I have disabled any interrupt
Quote:
|
Also I noticed you added CPU management to your apps, that's something I planned to do for a long time (I noticed huge battery consumption while running some RKP app because of that).
|
My application works above 6 hours from battery