Commit Graph
112 Commits
Author SHA1 Message Date
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
clawsandGitHub 9d659d1ab8 Merge pull request #46 from coelner/HResMode2
H res mode2
2018-10-04 07:49:07 +09:30
coelner e75ccea0d8 Release Candidate 1. minor textual changes 2018-10-03 16:04:30 +02:00
coelner 96febfa15d fix autoadjust example and clarify README 2018-10-02 14:23:18 +02:00
coelner 73606f1a1c remove int32 calculation 2018-10-01 07:00:34 +02:00
coelner c2e98dbbda fix examples, note to global maximum value 2018-09-29 19:30:44 +02:00
coelner 5a2c940f8c fix wrong Wire.begin() in example sketch, move #BH1750_FLOAT to header
file
2018-09-28 07:26:52 +02:00
clawsandGitHub d901c92ec6 Merge pull request #51 from NuTTeR/patch-1
Better error handling
2018-09-27 07:43:17 +09:30
Andrew ChumakandGitHub 667998c65d Better error handling 2018-08-27 22:32:31 +03:00
cm a30562d278 example added 2018-07-31 09:18:40 +02:00
cm 95f46e599e fix broken header 2018-07-31 09:07:45 +02:00
cm 13dfed8a12 fix github hickhup 2018-07-31 08:43:51 +02:00
coelner 680cebb956 backports of #ifdef BH1750_FLOAT usage 2018-07-16 21:25:46 +02:00
coelner bce523c75b backport of #ifdef BH1750_float case 2018-07-16 20:01:13 +02:00
clawsandGitHub 2cd4f3539e Merge pull request #48 from wridgers/wridgers--component-mk
Add component.mk for use with esp-idf
2018-06-25 20:16:36 +09:30
Will RidgersandWill Ridgers a9de2b7958 Add component.mk for use with esp-idf
Useful when writing code for ESP32.
2018-06-24 15:59:53 +01:00
coelner 8310b279a5 added behaviour description into README and change examples for float as
return value
2018-03-07 22:39:07 +01:00
coelner 33fa12dd25 HRes Mode 2 implemented 2018-03-07 22:09:32 +01:00
coelner 7d2647d937 change readlightlevel to float return value 2018-03-07 22:06:49 +01:00
coelner 3a65b23ab3 Merge remote-tracking branch 'upstream/master' 2018-03-07 22:05:25 +01:00
clawsandGitHub 68afd58201 Merge pull request #44 from coelner/errorfix
Errorfix
2018-03-07 20:52:38 +00:00
coelner 7cd0e7065c error fix for #42 and #43 2018-03-07 21:20:28 +01:00