Page 1 of 1

Related to GPIO usage in a 4412-1506 that Android loaded

Posted: Wed May 10, 2017 2:25 pm
by forumcuali
hi,

In the Android studio (or eclips) we can turn on or off the LEDs using "libFriendlyarm-Hardware.so". :ugeek:

We want to control a button connected to EINT-8 or EINT-15. we couldnt do that.

(in other words; We could not use gpio on 4412-1506.
We could not turn on a LED connected to the GPIO or As I said above)


Please help us in this regard. thank you.

Re: Related to GPIO usage in a 4412-1506 that Android loaded

Posted: Sat May 13, 2017 8:58 am
by forumcuali
Nobody can help?

Re: Related to GPIO usage in a 4412-1506 that Android loaded

Posted: Thu May 18, 2017 4:39 am
by v8dave
forumcuali wrote:
hi,
We want to control a button connected to EINT-8 or EINT-15. we couldnt do that.


Are you trying to use interrupts or just polling for the input changes?

For interrupts, you need to be at the kernel level.