Skip to content

Commit

Permalink
V2 with BPM280
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotak committed May 12, 2021
1 parent e963b62 commit 42a0eb4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Build
if: success()
run: |
pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade
pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade -e WemosWeatherStation_v2_bmp280
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build
if: success()
run: |
pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade
pio run -e WemosWeatherStation_v2 -e WemosWeatherStation_v2_upgrade -e WemosWeatherStation_v2_bmp280
- name: Create release
if: ${{ success() && steps.prepare.outputs.version != null }}
Expand Down
16 changes: 16 additions & 0 deletions code/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,19 @@ lib_deps =
pilotak/WeatherMeters
pilotak/MCP3X21


[env:WemosWeatherStation_v2_bmp280]
platform = espressif8266
board = d1_mini
framework = arduino
build_flags =
${common.build_flags}
'-D SENSOR_BMP280'
'-D SENSOR_SHT31'
'-D HAS_METERS'
lib_deps =
${common.lib_deps}
finitespace/BME280
https://github.com/pilotak/ClosedCube_SHT31D_Arduino
pilotak/WeatherMeters
pilotak/MCP3X21

0 comments on commit 42a0eb4

Please sign in to comment.