Comments (5)
from pi_ina219.
PR submitted.
from pi_ina219.
PR merged and new 1.3.0 release created and uploaded to PyPi, see https://pypi.org/project/pi-ina219/1.3.0/
thanks,
Chris
from pi_ina219.
I can't stop the module from printing debug messages. What can I do?
My code:
`import logging
from ina219 import INA219, DeviceRangeError
logging.getLogger('ina219').setLevel(logging.ERROR)
class CurrentReader():
SHUNT_OHMS = 0.1
MAX_EXPECTED_AMPS = 3.0
def init(self):
self.ina = INA219(self.SHUNT_OHMS, self.MAX_EXPECTED_AMPS, busnum=1, log_level=logging.ERROR)`
from pi_ina219.
It's not good practice to comment on a closed issue, please open a new one.
Thanks
Chris
from pi_ina219.
Related Issues (20)
- Guide until get data of voltage and current ina219 using raspberrypi HOT 6
- issue with code
- Johnny Five Plugin HOT 3
- Calculation of "current" for negative "shunt_voltage" HOT 10
- Current overflow false positive HOT 7
- cannot import name INA219 HOT 5
- Citation HOT 1
- getting [Errno 121] Remote I/O error? HOT 8
- Unable to get ADC_16SAMP (or any of the others to work) HOT 2
- ImportError: cannot import name INA219 HOT 8
- improbable values returned?
- Convert from Adafruit_GPIO library (which is archived) to smbus2 library HOT 2
- Reading current samples from python while INA219 is connected to Arduino board HOT 1
- ina219.DeviceRangeError: Current out of range I have got exactly the same problem when trying to install Raspberry PI i52 UPS Plus HAT. Device is called EP-0136 HOT 1
- Problem with this on a Pi Pico HOT 7
- OSError: [Errno 121] Remote I/O error HOT 15
- Force library to use specified logging level HOT 1
- not working on raspberrypiOS 32 bit HOT 1
- No change in resolution or time when changing ADC samples and bit HOT 5
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 pi_ina219.