AllWize Library
examples
lorawan
lorawan_gateway
src
debug.cpp
Go to the documentation of this file.
1
/*
2
3
DEBUG MODULE
4
5
*/
6
7
#include <Arduino.h>
8
#include "
debug.h
"
9
#include "
configuration.h
"
10
11
void
debugSetup
() {
12
13
#if defined(DEBUG_PORT)
14
DEBUG_PORT
.begin(
DEBUG_PORT_BAUDRATE
);
15
while
(!
DEBUG_PORT
&& millis() < 5000);
16
DEBUG_PORT
.println();
17
DEBUG_PORT
.println();
18
#endif
19
20
}
debug.h
DEBUG_PORT_BAUDRATE
#define DEBUG_PORT_BAUDRATE
Definition:
configuration.h:14
DEBUG_PORT
#define DEBUG_PORT
Definition:
configuration.h:13
configuration.h
debugSetup
void debugSetup()
Definition:
debug.cpp:11
Generated by
1.8.15