Skip to content

Commit

Permalink
Update CO2_Gadget_REV to 013 and remove unused code (#110)
Browse files Browse the repository at this point in the history
Co-authored-by: Mario Mariete <[email protected]>
  • Loading branch information
melkati and melkati authored Jan 10, 2024
1 parent 10ebc44 commit 531adae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions CO2_Gadget_BLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define CO2_Gadget_BLE_h

#include "Sensirion_Gadget_BLE.h"
// GadgetBle gadgetBle = GadgetBle(GadgetBle::DataType::T_RH_CO2_ALT);
NimBLELibraryWrapper lib;
DataProvider provider(lib, DataType::T_RH_CO2_ALT);

Expand All @@ -14,7 +13,7 @@ void initBLE() {
Serial.println(provider.getDeviceIdString());
return; // If BLE is already initialized do nothing and return
} else {
// provider.setSampleIntervalMs(60000); // Set interval for MyAmbiance dataloging at 60 seconds
// provider.setSampleIntervalMs(60000); // Set interval for MyAmbiance dataloging at 60 seconds. See https://github.com/melkati/CO2-Gadget/projects/2#card-91517604
provider.begin();
Serial.print("-->[SBLE] Sensirion Gadget BLE Lib initialized with deviceId = ");
Serial.println(provider.getDeviceIdString());
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ build_flags =

-D MQTT_BROKER_SERVER="\"192.168.1.145"\"
-D CO2_GADGET_VERSION="\"0.7."\"
-D CO2_GADGET_REV="\"012"\"
-D CO2_GADGET_REV="\"013"\"
-D CORE_DEBUG_LEVEL=0
-DNEOPIXEL_PIN=26 ; Pinnumber for button for down/next and back / exit actions
-DNEOPIXEL_COUNT=16 ; How many neopixels to control
Expand Down

0 comments on commit 531adae

Please sign in to comment.