add source code that exists so far

This commit is contained in:
Florian Hoss 2022-04-05 20:05:16 +02:00
parent 275c84b48f
commit ef307a24f5
21 changed files with 3276 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#ifndef GPIO_H
#define GPIO_H
#include "driver/gpio.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "../network/theWebServer.h"
esp_err_t relay_put_handler(httpd_req_t *req);
#endif

View file

@ -0,0 +1,12 @@
#ifndef LOGGER_H
#define LOGGER_H
#include "esp_log.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
void print_logo();
void print_esp32_information();
void setup_all_log_levels();
#endif

View file

@ -0,0 +1,9 @@
#ifndef NVS_H
#define NVS_H
#include "nvs_flash.h"
#include "esp_log.h"
void setup_nvs(void);
#endif

View file

@ -0,0 +1,9 @@
#ifndef SNTP_H
#define SNTP_H
#include "esp_sntp.h"
#include "esp_log.h"
void setup_sntp();
#endif