diff --git a/include/MessenSensoren.h b/include/MessenSensoren.h index 85b2a07..83d4794 100644 --- a/include/MessenSensoren.h +++ b/include/MessenSensoren.h @@ -1,6 +1,7 @@ #ifndef h_messenSensoren #define h_messenSensoren +#define LED1 13 void InitTimeDate(void); void PrintTimeDate(void); diff --git a/src/MessenSensoren.cpp b/src/MessenSensoren.cpp index 756d05f..4e8443a 100644 --- a/src/MessenSensoren.cpp +++ b/src/MessenSensoren.cpp @@ -147,7 +147,8 @@ void MessenSensoren() { int i; float t, p, h, fUb; unsigned int lVisLux; - + + lVisLux=0; PrintTimeDate(); Set_I2C_Adresse(BME280_ADR); @@ -282,7 +283,6 @@ void PowerDown(void) //------------------------------------------------------------------- void PowerUp(void) { -int i; // I2C Power einschalten LoRa Transponder pinMode(I2C_POWER,OUTPUT); diff --git a/src/main.cpp b/src/main.cpp index 705a08d..8a98ba8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -132,6 +132,12 @@ void printHex2(unsigned v) { Serial1.print(v, HEX); } +void alarmMatch() +{ + +} + + void do_send(__attribute__((unused)) osjob_t *j) { // Check if there is not a current TX/RX job running @@ -352,8 +358,4 @@ void loop() { } -void alarmMatch() -{ - -}