barbudor / circuitpython_ina3221 Goto Github PK
View Code? Open in Web Editor NEWA driver for INA3221 compatible with Adafruit's CircuitPython
License: MIT License
A driver for INA3221 compatible with Adafruit's CircuitPython
License: MIT License
I know the readme says its not available via PyPI. How would I go about installing this library on a Raspberry Pi? Can I download the release zip and use pip3 to install somehow?
I tried the following but it didn't work so must be a bit more involved to install.
$ sudo pip3 install barbudor_ina3221.precompiled.binaries.zip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./barbudor_ina3221.precompiled.binaries.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-rn99zd6q/setup.py'
I added this method to my class that uses your libray using self.ina3221 as the instance of your library. But this could be included in your library.
This aids waiting for available data.
def ina3221_CRF(self): # get conv_ready_flag regvalue = self.ina3221.read(ina.C_REG_MASK_ENABLE) value = (regvalue & ina.C_CONV_READY_FLAG) return (value==1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.