133 Commits
Author SHA1 Message Date
clawsandGitHub b6986b553f Merge pull request #80 from claws/uprev
Update version to 1.3.0
1.3.0
2022-01-17 09:02:22 +10:30
Chris Laws a9213f7d99 Update version to 1.3.0 2022-01-17 08:41:39 +10:30
clawsandGitHub 90bea21bd9 Merge pull request #79 from beta-tester/master
BH1750 MTreg min is 31 in the datasheet
2022-01-16 13:52:10 +10:30
beta-testerandGitHub 9437a0c51c fix format error / removes my additional comments 2022-01-14 01:27:27 +01:00
beta-testerandGitHub cbb2750e25 removed comment about but in setMTreg
// Bug: lowest value seems to be 32!
tested on my module with batch/lot number `AAO 261`. there was no issues with setting MTreg and reading proper light level.
2022-01-14 00:17:12 +01:00
beta-testerandGitHub b001acf6b2 typo 2022-01-13 09:22:28 +01:00
beta-testerandGitHub 70f07b45c9 fix MTreg value range in comment
also added a calculated example in the comment
2022-01-13 09:13:31 +01:00
beta-testerandGitHub a54da0806c fix "checks / lint (pull_request) Failing" 2022-01-13 07:46:47 +01:00
beta-testerandGitHub fcd6218fc4 fix MTreg min 2022-01-12 11:17:48 +01:00
beta-testerandGitHub 3763e05c9f add min/max definition of MTreg 2022-01-12 11:08:50 +01:00
clawsandGitHub 37068ca098 Merge pull request #74 from claws/add-ci 2021-01-17 20:29:33 +10:30
Chris Laws d0e40a0bd3 Setup Github Actions 2021-01-17 19:35:07 +10:30
clawsandGitHub d2cfba6466 Merge pull request #73 from claws/uprev
Bump version for new release
1.2.0
2021-01-03 13:31:52 +10:30
Chris Laws 0221dad30f bump version for new release 2021-01-03 13:16:11 +10:30
clawsandGitHub a353dda671 Merge pull request #69 from coelner/nonBlocking
Non blocking
2021-01-03 12:27:10 +10:30
coelner 2a8adf0c31 upstream related #61 , #59 , #53 2020-09-24 20:24:42 +02:00
coelner a41c9f0293 Merge remote-tracking branch 'upstream/master' into master 2020-08-14 10:45:06 +02:00
coelner 1c22536716 MTReg fix #53 2020-08-14 10:35:31 +02:00
clawsandGitHub 38e9f378e0 Merge pull request #68 from mike-kiwi/patch-1
Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1);
2020-08-12 22:26:26 +09:30
Mike WrightandGitHub 73edd6bb95 Wemos / Lolin D1 Mini Pro uses Wire.begin(D2, D1); 2020-08-11 01:12:42 +12:00
coelner fd732383ac Merge branch 'claws-master'. library skeleton updates, TWI handling 2020-06-10 21:24:30 +02:00
coelner bef96055d7 Merge branch 'master' of https://github.com/claws/BH1750 into claws-master 2020-06-10 21:21:48 +02:00
clawsandGitHub 6b3db32f50 Merge pull request #66 from schaeferpm/patch-1
Update BH1750.cpp
1.1.4
2020-05-23 11:01:32 +09:30
schaeferpmandPeter Schaefer 179d907478 Update BH1750.cpp
The configure method always pushed the old configuration to the device.
2020-05-22 19:06:31 +02:00
clawsandGitHub 831c081152 Merge pull request #65 from Onno-Dirkzwager/master
Make library compatible for the Arduino Library Manager
2020-05-21 21:06:18 +09:30
Onno-DirkzwagerandGitHub 6870d707e6 Update library.json 2020-05-12 23:23:07 +02:00
Onno-DirkzwagerandGitHub 250679c904 Update library.properties 2020-05-12 23:22:50 +02:00
Onno-DirkzwagerandGitHub c904729f1e Update library.properties 2020-05-12 23:21:01 +02:00
Onno-DirkzwagerandGitHub 6a60abe0b1 Update library.json 2020-05-12 23:20:44 +02:00
Onno-DirkzwagerandGitHub e14348d59d Update library.properties
Extended the following fields:
- sentence
- paragraph
- architectures
2020-05-12 23:05:56 +02:00
Onno-DirkzwagerandGitHub e02f6e43ea Update library.json
- Added keywords
- Extended description
- Extended platforms
- Added version
2020-05-12 22:55:44 +02:00
Onno-DirkzwagerandGitHub 7ece055c43 Fixed typo in ArduBadge 2020-05-12 22:38:14 +02:00
Onno-DirkzwagerandGitHub 0b9c2e2a41 Added ArduBadge 2020-05-12 22:37:17 +02:00
Onno-DirkzwagerandGitHub d3489ba378 Rename BH1750.h to src/BH1750.h
Move to src folder in preperation for creating Arduino library
2020-05-12 22:29:05 +02:00
Onno-DirkzwagerandGitHub 01ac3051e5 Rename BH1750.cpp to src/BH1750.cpp
Move to src folder in preperation for creating Arduino library
2020-05-12 22:28:45 +02:00
clawsandGitHub a82aeae4f2 Update README
Update README to more clearly reference advanced examples to help address user issues such as that raised in #64.
2020-04-18 09:47:02 +09:30
clawsandGitHub ee00a246d6 Merge pull request #63 from protohaus/master
Add support for setting TwoWire instance
2020-01-16 07:42:04 +10:30
Moritz Ulmer dbaf749f60 Add an example for custom TwoWire instance usage
Why:

- Show how two I2C buses can be used with the library

This change addresses the need by:

- Add an example showing two BH1750 instances being connected to separate
  TwoWire instances. Each TwoWire instance has its own SCL and SDA pin.
2020-01-14 10:35:23 +01:00
Moritz Ulmer 22d096f351 Add support for setting TwoWire instance
Why:

- Some boards have two or more I2C interfaces

This change addresses the need by:

- Extending the begin() function
- Replacing hard coded Wire calls with a TwoWire pointer
2020-01-13 20:53:21 +01:00
coelner 862b9d07d8 backport slipped in twi changes 2019-08-14 20:31:57 +02:00
coelner ea801213f1 fix continuous mode reset 2019-08-14 19:56:22 +02:00
clawsandGitHub 06436316ca Merge pull request #58 from claws/fix-issue-57
Fix for incorrect bit shift when setting MTReg high bits value.
2019-07-30 07:35:28 +09:30
clawsandGitHub d3f2a6fc1f Update BH1750.cpp 2019-07-29 21:48:03 +09:30
clawsandGitHub a49b08550a Merge pull request #54 from flopp999/patch-1
change some misspelled words
2018-11-05 08:13:50 +10:30
flopp999andGitHub 2ac08fc62c change some misspelled words 2018-11-04 13:32:15 +01:00
coelner 9f6a6ba79e fix begin() for MTreg default value 2018-10-23 18:46:13 +02:00
coelner 2f21a68fdc Merge branch 'master' of https://github.com/coelner/BH1750 2018-10-07 16:48:54 +02:00
clawsandcoelner 944d55faf4 Merge pull request #52 from claws/cleanups
Various cleanups
2018-10-07 16:48:22 +02:00
clawsandGitHub a4d7626afb Merge pull request #52 from claws/cleanups
Various cleanups
2018-10-06 13:35:52 +09:30
Chris Laws ed1c55f768 cleanups 2018-10-06 09:49:27 +09:30