PINE64
How to get control of GPIO pins from Remix? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: How to get control of GPIO pins from Remix? (/showthread.php?tid=1586)



How to get control of GPIO pins from Remix? - gbjensen - 06-30-2016

I would like to make a very small app or script to Android / Remix.

It shall set a GPIO pin high for 0.5 to 1 second and the low again.

Why? I would like to reset the HP_Jack connector status and thereby be able to use the audio output without doing the unplug-plug manual sequence after power up. (with a relay or analog sw. will I shortly connect pin 3 and 4 at the jack connector.)

A manual short circuit of pin 3 and 4 (and release again) activates the audio output af the HP_JACK connector.

So:
  • How do I get started making a simple app or script to android?
  • How do I get control of the GPIO pins from android?



RE: How to get control of GPIO pins from Remix? - Beta - 07-31-2016

check this thread: http://forum.pine64.org/showthread.php?tid=1750