2024-05-13 11:43:31 -07:00

42 lines
453 B
C++

/// © MiroZ 2024
#include "App.h"
#include <Arduino.h>
#include "Settings.h"
#define LED_PIN 26
App::App()
{
}
void App::init()
{
m_led = new Led(LED_PIN);
m_led->setBrightness(SETTINGS.led.brightness);
m_wifi = new Wifi();
m_led->setPulse(0, 127, 0);
m_wifi->connect();
m_led->setColor(0, 0, 0);
}
void App::start()
{
while(true)
{
vTaskDelay(pdMS_TO_TICKS(10000));
}
}
void App::readSensors()
{
}
void App::reportSensors()
{
}