adxl345spi
adxl345spi copied to clipboard
Package 'pigpio' has no installation candidate
I have PIGPIOD installed but it's giving an error about no installation candidate.
I am trying to get this setup on an RPI3.
After much wrangling I was able to get it to work after a reboot.
This looks like an apt issue to me. Unfortunately I am not familiar with the octopi and its tweaks and differences from raspbian.
This looks like an apt issue to me. Unfortunately I am not familiar with the octopi and its tweaks and differences from raspbian.
That is Raspbian.
Yes octopi is based on raspbian, but it's tweaked and repackaged via CustomPiOS. Sorry I don't have the resources to test against multiple distributions. If you have issues with adxl on octopi, I would recommend running octoprint on standard raspbian, e.g. via docker (there are octpprint images compiled for arm).
I am way ahead of you. I already setup a PI with the stock Raspbian image to test it there when I made the post. I'll let you know if I find a solution. It looks like it may be an environment path issue to me but I haven't had time to test further.
Yes octopi is based on raspbian, but it's tweaked and repackaged via CustomPiOS. Sorry I don't have the resources to test against multiple distributions. If you have issues with adxl on octopi, I would recommend running octoprint on standard raspbian, e.g. via docker (there are octpprint images compiled for arm).
Same issue with Armbian Ubuntu.
Solution:
git clone https://github.com/joan2937/pigpio.git && cd pigpio
sudo make install
But there's other bugs with adxl345spi, it needs an update too.
dxl345spi.c: In function ‘printUsage’:
adxl345spi.c:28:34: warning: ‘%s’ directive argument is not a nul-terminated string [-Wformat-overflow=]
+---------------------------------------------------------+
|Sorry, this system does not appear to be a raspberry pi. |
|aborting. |
+---------------------------------------------------------+
Seriously.. that's why we have WiringPI for our various boards.