Comments (4)
hiya, wontfix - this is 100% the standard operation procedure for arduino libaries and we've done it 200+ times for 10 years. Wire.begin() should be idempotent in the board support implementation, as it is in all official Arduino boards!
from adafruit_sgp30.
its also what Arduino does for their libraries, in case you think we're doing it wrong ;)
https://github.com/arduino-libraries/Arduino_HTS221/blob/master/src/HTS.cpp#L47
from adafruit_sgp30.
That doesn't mean it is the right thing to do.
I'm not suggesting you should change it to all, only if you want to consider it for this one and future libraries.
If not, then other projects cannot use your libraries by linking to them but have to include them in a patched form.
from adafruit_sgp30.
nope, wontfix - if you have a 'fork' and its not compatible with arduino's official libraries, its your fork thats the issue :) Wire.begin() was designed to be callable as many times as you like, if that implementation is broken, it needs to be fixed, not a decade worth of libraries
from adafruit_sgp30.
Related Issues (13)
- Sensor hangs HOT 7
- Adding soft reset HOT 3
- Deep Sleep ESP HOT 3
- Unexpected I2C device at 0x00 when this sensor is plugged in HOT 1
- Add Include Guards HOT 2
- softReset HOT 2
- Setting baseline stalls sensor HOT 4
- Commenting error HOT 4
- When setIAQBaseline is called,getIAQBaseline is wrong. HOT 6
- IAQInit not required, even though docs state it is
- 'softReset()' fails to reduce power. HOT 3
- Humidity compensation HOT 2
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_sgp30.