Browse Source

Bugs beseitigt

master
Ralf Behrens 4 years ago
parent
commit
c54a1af7a2
  1. 1
      include/MessenSensoren.h
  2. 2
      src/MessenSensoren.cpp
  3. 10
      src/main.cpp

1
include/MessenSensoren.h

@ -1,6 +1,7 @@
#ifndef h_messenSensoren #ifndef h_messenSensoren
#define h_messenSensoren #define h_messenSensoren
#define LED1 13
void InitTimeDate(void); void InitTimeDate(void);
void PrintTimeDate(void); void PrintTimeDate(void);

2
src/MessenSensoren.cpp

@ -148,6 +148,7 @@ void MessenSensoren() {
float t, p, h, fUb; float t, p, h, fUb;
unsigned int lVisLux; unsigned int lVisLux;
lVisLux=0;
PrintTimeDate(); PrintTimeDate();
Set_I2C_Adresse(BME280_ADR); Set_I2C_Adresse(BME280_ADR);
@ -282,7 +283,6 @@ void PowerDown(void)
//------------------------------------------------------------------- //-------------------------------------------------------------------
void PowerUp(void) void PowerUp(void)
{ {
int i;
// I2C Power einschalten LoRa Transponder // I2C Power einschalten LoRa Transponder
pinMode(I2C_POWER,OUTPUT); pinMode(I2C_POWER,OUTPUT);

10
src/main.cpp

@ -132,6 +132,12 @@ void printHex2(unsigned v) {
Serial1.print(v, HEX); Serial1.print(v, HEX);
} }
void alarmMatch()
{
}
void do_send(__attribute__((unused)) osjob_t *j) { void do_send(__attribute__((unused)) osjob_t *j) {
// Check if there is not a current TX/RX job running // Check if there is not a current TX/RX job running
@ -352,8 +358,4 @@ void loop() {
} }
void alarmMatch()
{
}

Loading…
Cancel
Save