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:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPi 3 Pypilot control via GPIO push buttons
#15
(2020-06-11, 11:00 AM)drbarritt Wrote: Sean, many thanks.  I have Pypilot 2.0.8 so please can you tell me with service I need and how to load it.  Also, is there a file that defines what each GPIO does?

Not sure if you have the service set-up, but you can run a python script just by adding it in /etc/rc.local:

- start terminal
- sudo nano /etc/rc.local
- Just before the exit command, type the command you run to open the script (usually: python3 /pathtoscript/scriptname.py
- Don't forget to close with & after the script name

Hope this helps until the next version launches.
Reply


Messages In This Thread
RE: RPi 3 Pypilot control via GPIO push buttons - by jamos.tan@gmail.com - 2020-07-28, 03:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)