2023-11-06 19:16:07 +00:00
|
|
|
#include "Arduino.h"
|
2023-11-07 00:11:12 +00:00
|
|
|
#include "lib/config.hpp"
|
|
|
|
|
2023-11-06 19:16:07 +00:00
|
|
|
|
|
|
|
extern "C" void app_main()
|
|
|
|
{
|
|
|
|
initArduino();
|
|
|
|
|
2023-11-07 00:11:12 +00:00
|
|
|
setup();
|
2023-11-06 19:16:07 +00:00
|
|
|
Serial.begin(115200);
|
2023-11-07 00:11:12 +00:00
|
|
|
static char sBuffer[240];
|
2023-11-06 19:16:07 +00:00
|
|
|
|
2023-11-07 00:11:12 +00:00
|
|
|
while (true)
|
|
|
|
{
|
|
|
|
// Serial.println("-------");
|
|
|
|
// vTaskGetRunTimeStats((char *)sBuffer);
|
|
|
|
// Serial.println(sBuffer);
|
|
|
|
vTaskDelay(pdMS_TO_TICKS(5000));
|
|
|
|
}
|
2023-11-06 19:16:07 +00:00
|
|
|
}
|