2022-04-09 13:08:51 +02:00
|
|
|
#include "defaults.h"
|
2022-04-09 11:05:14 +02:00
|
|
|
#include <Arduino.h>
|
2022-04-09 13:08:51 +02:00
|
|
|
#include <LittleFS.h>
|
2022-04-09 11:05:14 +02:00
|
|
|
|
2022-04-09 11:05:58 +02:00
|
|
|
void setup()
|
|
|
|
|
{
|
2022-04-09 13:08:51 +02:00
|
|
|
// Initialize serial output
|
|
|
|
|
Serial.begin(SERIAL_BAUDRATE);
|
|
|
|
|
while (!Serial)
|
|
|
|
|
yield();
|
|
|
|
|
Serial.println();
|
|
|
|
|
Serial.println(F("Starting OpenDTU"));
|
|
|
|
|
|
|
|
|
|
// Initialize file system
|
|
|
|
|
Serial.print(F("Initialize FS... "));
|
|
|
|
|
if (!LITTLEFS.begin()) {
|
|
|
|
|
Serial.println(F("failed"));
|
|
|
|
|
} else {
|
|
|
|
|
Serial.println(F("done"));
|
|
|
|
|
}
|
2022-04-09 11:05:14 +02:00
|
|
|
}
|
|
|
|
|
|
2022-04-09 11:05:58 +02:00
|
|
|
void loop()
|
|
|
|
|
{
|
|
|
|
|
// put your main code here, to run repeatedly:
|
2022-04-09 11:05:14 +02:00
|
|
|
}
|