Skip to content

File main.cpp

Location: src/main.cpp

Includes

graph LR
10["core.h"]
click 10 "core_8h.md#core_8h"

2["platform.h"]
click 2 "platform_8h.md#platform_8h"
2 --> 3
2 --> 4
2 --> 5
2 --> 6
2 --> 7
2 --> 8
2 --> 9

1["src/main.cpp"]
click 1 "main_8cpp.md#main_8cpp"
1 --> 2
1 --> 10

7["Adafruit_ADT7410.h"]

3["Arduino.h"]

8["ArduinoJson.h"]

9["ArduinoMqttClient.h"]

6["RTClib.h"]

5["SdFat.h"]

4["Wire.h"]

Functions

Function setup

void setup()

Return type: void

Function loop

void loop()

Return type: void

Source

#include "platform.h"
#include "core.h"

#ifndef UNIT_TEST

void setup() {
  Serial.begin(9600);
  unsigned long startTime = millis();
  while (!Serial && (millis() - startTime < 3000));
  CoreSetup();
}

void loop() {
  CoreLoop();
}
#endif