Browse Source

Bugs beseitigt

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

1
include/MessenSensoren.h

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

4
src/MessenSensoren.cpp

@ -147,7 +147,8 @@ void MessenSensoren() { @@ -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) @@ -282,7 +283,6 @@ void PowerDown(void)
//-------------------------------------------------------------------
void PowerUp(void)
{
int i;
// I2C Power einschalten LoRa Transponder
pinMode(I2C_POWER,OUTPUT);

10
src/main.cpp

@ -132,6 +132,12 @@ void printHex2(unsigned v) { @@ -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() { @@ -352,8 +358,4 @@ void loop() {
}
void alarmMatch()
{
}

Loading…
Cancel
Save