Commit Graph

5 Commits

Author SHA1 Message Date
RobTillaart
bbd7d1a38a update readme.md and added example two sensors 2020-02-16 10:00:38 +01:00
RobTillaart
672af9f698 fix #133 overflow of exponent
+ added readme.md
+ some cleanup
2020-01-21 15:26:58 +01:00
Moritz Ulmer
fbea3f36f5 Allow multiple Wire interfaces
Why:

- Some boards have multiple I2C interfaces
- Control when TwoWire.begin() is called

This change addresses the need by:

- Option to not begin() Wire
- Always be in configured state (no null ptr crash)
- Internally use TwoWire pointer
- Add example of new functionality
- Add possible I2C addresses
- Update I2C address in example to be within 0 - 127 range
2020-01-19 22:53:40 +01:00
RobTillaart
169bb2e42f Fix issue #127 - ctor
small optimization in setThreshold()
add Wire.begin() to setup() of example sketch
2019-09-03 12:22:43 +02:00
RobTillaart
907450e524 Fix return bugs; added a minimal test sketch; added keywords.txt; added const 2017-07-27 00:24:25 +02:00