Commit a44a5879 authored by Eric Duminil's avatar Eric Duminil
Browse files

Move libraries to ino

parent e96de764
Pipeline #11963 canceled with stage
#ifndef AMPEL_H_INCLUDED #ifndef AMPEL_H_INCLUDED
#define AMPEL_H_INCLUDED #define AMPEL_H_INCLUDED
/*****************************************************************
* Libraries *
*****************************************************************/
//NOTE: Too many headers. Move them to include/ folder?
#include "web_config.h" // Needed for offline config too.
#include "csv_writer.h"
#include "wifi_util.h"
#include "mqtt.h"
#include "web_server.h"
#include "lorawan.h"
#include "util.h"
#include "ntp.h"
#include "sensor_console.h"
#include "co2_sensor.h"
#include "led_effects.h"
void wifiConnecting(); void wifiConnecting();
void wifiConnected(); void wifiConnected();
......
...@@ -56,6 +56,25 @@ ...@@ -56,6 +56,25 @@
* and define your credentials and parameters in 'config.h'. * and define your credentials and parameters in 'config.h'.
*/ */
/*****************************************************************
* Libraries *
*****************************************************************/
#include "web_config.h" // Needed for offline config too.
#include "csv_writer.h"
#include "wifi_util.h"
#include "mqtt.h"
#include "web_server.h"
#include "lorawan.h"
#include "util.h"
#include "ntp.h"
#include "sensor_console.h"
#include "co2_sensor.h"
#include "led_effects.h"
/***************************************************************** /*****************************************************************
* Setup * * Setup *
*****************************************************************/ *****************************************************************/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment