PINE64

Full Version: How to get control of GPIO pins from Remix?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?