Comments (5)
Oh thanks for grabbing the details on the failure--yeah I don't think I've tested this one with Python 3.4 so stick with python 2.7 for now. I'll try to take a look later this week though to see why the bit shift isn't valid in 3.4. Thanks!
from adafruit_python_bmp.
Yep, switched my project to Python 2.7 for now. Thank you.
from adafruit_python_bmp.
I believe I found the issue, not sure exactly what the best fix is, though. Definitely a problem with the result of the addition of two ints becoming a float. Then the bitwise operators fail.
Changing it like below definitely fixes the issue. I have been testing with the debugging values, will test again with the actual unit when I get home. (There are three other instances where int addition yields a float)
Not sure exactly what the best practice fix is, but I will be more than happy to make this change.
from adafruit_python_bmp.
@campenberger's fix in pull request #8 fixes this.
from adafruit_python_bmp.
Oh this should be resolved now, a few months ago we did a pass adding python 2 and 3 support to all the libs. Can see more details here: https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code Thanks!
from adafruit_python_bmp.
Related Issues (14)
- Munin plugins not working HOT 1
- Self Calibration p8 value HOT 3
- Release to PyPI HOT 1
- Update examples/google_spreadsheet.py to use oAuth2 HOT 1
- BMP280 support HOT 1
- Build on Banana PI did not work HOT 3
- \
- traceback (most recent call last) HOT 3
- BMP085 ERROR AFTER UPDATING RASPBIAN AND KERNEL HOT 1
- Raspbian install error and related issues HOT 5
- IOError: [Errno 110] Connection timed out HOT 7
- My pressure values are way too low
- wrong issue, please delete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_python_bmp.