redirecting serial
This commit is contained in:
@ -3,18 +3,18 @@
|
||||
#include "ota.hpp"
|
||||
#include "server.hpp"
|
||||
#include "collector.hpp"
|
||||
#include "serial.hpp"
|
||||
|
||||
|
||||
const char* ssid = "fan_XXX";
|
||||
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
DEBUG_OUT.begin(115200);
|
||||
ota_setup(ssid);
|
||||
server_setup();
|
||||
Serial.println(F("Setup done"));
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
DEBUG_OUT.println(F("Setup done"));
|
||||
DEBUG_OUT.print("IP address: ");
|
||||
DEBUG_OUT.println(WiFi.softAPIP());
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Reference in New Issue
Block a user