AllWize Library
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)
15  while (!DEBUG_PORT && millis() < 5000);
16  DEBUG_PORT.println();
17  DEBUG_PORT.println();
18  #endif
19 
20 }
#define DEBUG_PORT_BAUDRATE
Definition: configuration.h:14
#define DEBUG_PORT
Definition: configuration.h:13
void debugSetup()
Definition: debug.cpp:11