atomicpi and gpio python libraries

Feb 7, 2019 - 12:42 PM

  • I've got a fresh install of lubuntu running from an SD card on my API and would like to get all of the libraries and relevant files for working with the gpio in python installed as well. Before I spend too much time weeding through the original lubuntu install on the onboard flash and copying things over manually... are the modules, etc... that exist on the factory Linux install available for download (github, etc...)?

    Thank you.

    This post was edited Feb 9, 2019 02:31PM
    0
  • I have the same question and also was there any kernel configuration changes made from the default kernel.

    0
  • I went ahead and located the python libraries/modules for the atomicpi gpio. After copying them over to a fresh lunbuntu 18.04LTS install along with the /home/atomicpi/samples code I was able to use the gpio without a problem. If you still have the original lubuntu install or a copy of it the files you need to copy over are:

    /usr/lib/atomicpi.sh

    /usr/local/lib/python2.7/dist-packages/gpio.py

    /usr/local/lib/python2.7/dist-packages/gpio.pyc

    /usr/lib/python2.7/dist-packages/atomicpi.py

    /usr/lib/python2.7/dist-packages/atomicpi.pyc

    1
  • Thanks for the info radu7. I got the ones in /usr/lib but missed the ones in /usr/local/lib. I cloned the emmc before reloading so I'll go back and get the others.

    0