-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to raspberry-gpio-python version 0.7. #20
base: master
Are you sure you want to change the base?
Conversation
Can confirm this works for Rpi 3 and 4 cc @ClockVapor |
Confirm this works for RPi 3B+ with Ruby 3.0.0. |
Can confirm works on RPi B with Ruby 2.5.0 installed from buster repository. |
I'm running into this compilation error with your fork: gem_make.out.txt To reproduce this, put this in a source "https://rubygems.org"
gem "rpi_gpio", github: "francois2metz/rpi_gpio", branch: "update-raspi4" |
Same problem here like @synthead |
The issue seem to stem from some of the variable definitions being made in common.h. The variables should be declared with the The header files are also missing include guards which can be problematic. Should not be an issue in this gem. Update: The multiple definition of Update: This is untested. Will update this comment if/when I've tested it. Update: I see @synthead Has a branch based on 0.5.0 that should work. Based on version 0.5.0. So should most likely be preferred. Still has the redundant |
Hi,
I updated the extension to the latest version of
raspberry-gpio-python
. It fixes a bug with the raspberry pi 4 (See there: https://sourceforge.net/p/raspberry-gpio-python/code/ci/5021b32713c453cccfa17edc15bfeb85f6dca074/)I tested it and it works!