This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create action from switch attached to GPIO
#24
(2017-05-24, 01:07 PM)Littlechay Wrote: Thanks good idea to put it in a script; which I had thought about but not got around to.

I have done it now. Works every time from the command line but nothing happens when triggered from an action.

Permissions are set on the script. I put it on the same path as you have done.. nothing.

The trigger is working OK just nothing from this action. Anything different from default in your system that may be affecting things?

Hello,
for the MOB button, see the discussion at https://www.hisse-et-oh.com/forums/comme...-a-opencpn
it uses a button connected to an input gpio and a bash script using xdotool to put the mob point in OpenCpn and an alarm!
Reply


Messages In This Thread
RE: Create action from switch attached to GPIO - by kinefou - 2018-12-11, 12:22 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)