Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pigpio
#1
I would like to recast the implementation to use pigpio library rather than direct GPIO calls.  This requires the library to be installed and running as part of the installation but then likely allows the rest of the program to run without root privileges.

This would involve changes to gpio_pins.py and plugins/relay_board.py.

I have already made changes to relay_board and they seem to work fine.  I am happy to make the other changes, but I am not sure how to deal with the installation piece.

Thoughts?
-brian

The way I got it installed on my system was:

wget abyz.co.uk/rpi/pigpio/pigpio.zip
unzip pigpio.zip
cd PIGPIO
make
make install
get or create /etc/init.d/pigpiod from somewhere
sudo chmod +x /etc/init.d/pigpiod
sudo update-rc.d pigpiod defaults
sudo update-rc.d pigpiod enable
Reply


Messages In This Thread
pigpio - by bkoblenz - 2015 Aug 16, 09:09 PM
RE: pigpio - by dan - 2015 Aug 16, 09:42 PM
RE: pigpio - by bkoblenz - 2015 Aug 17, 02:11 AM
RE: pigpio - by dan - 2015 Aug 17, 03:10 AM
RE: pigpio - by bkoblenz - 2015 Aug 17, 04:56 AM
RE: pigpio - by KanyonKris - 2015 Nov 26, 07:20 AM
RE: pigpio - by dan - 2015 Nov 26, 06:05 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)