From a5d9fcf48ace5f6f65a3e1ba6ad865b96e993a8f Mon Sep 17 00:00:00 2001 From: ZodiusInfuser Date: Tue, 24 Aug 2021 11:41:56 +0100 Subject: [PATCH] Renamed bme68x plasma example to Monitor --- examples/plasma2040/CMakeLists.txt | 4 ++-- .../{plasma2040_bme68x.cmake => plasma2040_monitor.cmake} | 4 ++-- .../{plasma2040_bme68x.cpp => plasma2040_monitor.cpp} | 1 + micropython/examples/plasma2040/{bme68x.py => monitor.py} | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) rename examples/plasma2040/{plasma2040_bme68x.cmake => plasma2040_monitor.cmake} (75%) rename examples/plasma2040/{plasma2040_bme68x.cpp => plasma2040_monitor.cpp} (98%) rename micropython/examples/plasma2040/{bme68x.py => monitor.py} (97%) 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.