-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharduino-temperature.ino
57 lines (54 loc) · 1.61 KB
/
arduino-temperature.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// project for measuring the temperature with a ESP 12e and a DHT22 sensor
// see https://www.vogt.or.at/hardware/temperaturesensor
// see https://github.com/phvogt/arduino-temperature
// a_constants ... contains the constants for the project
// b_config ... contains the configuration for the temperature sensor
// c_globals_struct ... global variables / structs
// d_setup ... the setup function
// e_loop ... the loop function
// f_core_functions ... all core functions
// g_mqtt ... MQTT functions
// h_wifi ... Wifi functions
// i_measure ... functions for measuring
// j_file ... functions for (log-) file handling
// k_ntp ... functions for ntp
// l_ftp ... functions for ftp
// used libraries:
//
// name=ESP8266WiFi
// version=1.0
// author=Ivan Grokhotkov
// category=Communication
// url=
//
// name=MQTT
// version=2.1.4
// author=Joel Gaehwiler <joel.gaehwiler@gmail.com>
// category=Communication
// url=https://github.com/256dpi/arduino-mqtt
//
// name=DHT sensor library
// version=1.3.0
// author=Adafruit
// category=Sensors
// url=https://github.com/adafruit/DHT-sensor-library
//
// needed for DHT
// name=Adafruit Unified Sensor
// version=1.0.2
// author=Adafruit <info@adafruit.com>
// category=Sensors
// url=https://github.com/adafruit/Adafruit_Sensor
//
//
// name=NTPClient
// version=3.1.0
// author=Fabrice Weinberg
// category=Timing
// url=https://github.com/arduino-libraries/NTPClient
//
// name=Time
// version=1.5
// author=Michael Margolis
// category=Timing
// url=http://playground.arduino.cc/code/time