diff --git a/examples/plasma2040/CMakeLists.txt b/examples/plasma2040/CMakeLists.txt index cff73730..30abd500 100644 --- a/examples/plasma2040/CMakeLists.txt +++ b/examples/plasma2040/CMakeLists.txt @@ -1,4 +1,4 @@ -include(plasma2040_bme68x.cmake) -include(plasma2040_rotary.cmake) +include(plasma2040_monitor.cmake) include(plasma2040_rainbow.cmake) +include(plasma2040_rotary.cmake) include(plasma2040_stacker.cmake) \ No newline at end of file diff --git a/examples/plasma2040/plasma2040_bme68x.cmake b/examples/plasma2040/plasma2040_monitor.cmake similarity index 75% rename from examples/plasma2040/plasma2040_bme68x.cmake rename to examples/plasma2040/plasma2040_monitor.cmake index 7e77c4b2..e3291ff4 100644 --- a/examples/plasma2040/plasma2040_bme68x.cmake +++ b/examples/plasma2040/plasma2040_monitor.cmake @@ -1,5 +1,5 @@ -set(OUTPUT_NAME plasma2040_bme68x) -add_executable(${OUTPUT_NAME} plasma2040_bme68x.cpp) +set(OUTPUT_NAME plasma2040_monitor) +add_executable(${OUTPUT_NAME} plasma2040_monitor.cpp) target_link_libraries(${OUTPUT_NAME} pico_stdlib diff --git a/examples/plasma2040/plasma2040_bme68x.cpp b/examples/plasma2040/plasma2040_monitor.cpp similarity index 98% rename from examples/plasma2040/plasma2040_bme68x.cpp rename to examples/plasma2040/plasma2040_monitor.cpp index fab5fb84..362299fc 100644 --- a/examples/plasma2040/plasma2040_bme68x.cpp +++ b/examples/plasma2040/plasma2040_monitor.cpp @@ -12,6 +12,7 @@ #include "button.hpp" /* +Uses a BME68x to monitor the ambient temperature, pressure and humidity, and show them as bars on an LED strip. Press "A" to cycle to the next mode. Press "B" to cycle to the previous mode. */ diff --git a/micropython/examples/plasma2040/bme68x.py b/micropython/examples/plasma2040/monitor.py similarity index 97% rename from micropython/examples/plasma2040/bme68x.py rename to micropython/examples/plasma2040/monitor.py index 318df518..1f6a47d3 100644 --- a/micropython/examples/plasma2040/bme68x.py +++ b/micropython/examples/plasma2040/monitor.py @@ -8,6 +8,7 @@ from pimoroni import RGBLED, Button from breakout_bme68x import BreakoutBME68X from pimoroni_i2c import PimoroniI2C +# Uses a BME68x to monitor the ambient temperature, pressure and humidity, and show them as bars on an LED strip. # Press "A" to cycle to the next mode. # Press "B" to cycle to the previous mode.