Skip to content

Commit 831c081

Browse files
authored
Merge pull request #65 from Onno-Dirkzwager/master
Make library compatible for the Arduino Library Manager
2 parents a82aeae + 6870d70 commit 831c081

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The default value is 69; keep in mind that the measurement time is changed accor
5959
The datasheet for the BH1750 chip can be obtained [here](http://www.elechouse.com/elechouse/images/product/Digital%20light%20Sensor/bh1750fvi-e.pdf)
6060

6161

62-
## Installation
62+
## Installation [![arduino-library-badge](https://www.ardu-badge.com/badge/BH1750.svg?)](https://www.ardu-badge.com/BH1750)
6363

6464
Click "Clone or download" -> "Download ZIP" button.
6565

library.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "BH1750",
3-
"keywords": "light, sensor",
4-
"description": "Digital light sensor breakout boards containing the BH1750FVI IC",
3+
"keywords": "BH1750FVI, light, lux, sensor, Arduino, ESP8266, ESP32",
4+
"description": "Arduino library for the digital light sensor breakout boards containing the BH1750FVI IC. Arduino, ESP8266 & ESP32 compatible.",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/claws/BH1750.git"
88
},
99
"frameworks": "arduino",
10-
"platforms": ["atmelavr", "atmelsam", "espressif8266"]
10+
"platforms": ["atmelavr", "atmelsam", "espressif8266", "espressif32"],
11+
"version": "1.1.4"
1112
}

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name=BH1750
22
version=1.1.4
33
author=Christopher Laws
44
maintainer=Christopher Laws
5-
sentence=Digital light sensor breakout boards containing the BH1750FVI IC
6-
paragraph=Pretty simple and robust BH1750 library
5+
sentence=Arduino library for the digital light sensor breakout boards containing the BH1750FVI IC
6+
paragraph=Pretty simple and robust BH1750 library. Arduino, ESP8266 & ESP32 compatible.
77
category=Sensors
88
url=https://github.com/claws/BH1750
9-
architectures=*
9+
architectures=avr,sam,esp8266,esp32
1010
includes=BH1750.h
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)