IoT - Modular - Libraries.h

From The TinkerNet Wiki
Revision as of 14:16, 30 April 2021 by Tinker (talk | contribs) (Created page with "<syntaxhighlight lang="cpp" line="1"> #ifndef LIBRARIES_H #define LIBRARIES_H // WiFi //////////////////////////////////////////////////////////////////////// #include <ESP82...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1 #ifndef LIBRARIES_H
 2 #define LIBRARIES_H
 3 
 4 // WiFi ////////////////////////////////////////////////////////////////////////
 5 #include <ESP8266WiFi.h>
 6 
 7 // MQTT ////////////////////////////////////////////////////////////////////////
 8 #include <PubSubClient.h>
 9 
10 // Supplimental Stuff //////////////////////////////////////////////////////////
11 #include <SimpleTimer.h>
12 
13 #include <Wire.h>
14 
15 // Pixels //////////////////////////////////////////////////////////////////////
16 #ifdef d_Pixels
17 #include <Adafruit_NeoPixel.h>
18 #endif
19 
20 // BME280 //////////////////////////////////////////////////////////////////////
21 #ifdef s_BME280
22 #include <Adafruit_Sensor.h>
23 #include <Adafruit_BME280.h>
24 #endif
25 
26 // BMP180 //////////////////////////////////////////////////////////////////////
27 #ifdef s_BMP180
28 #include <SPI.h>
29 #include <Adafruit_Sensor.h>
30 #include <Adafruit_BMP085.h>
31 #endif
32 
33 #ifdef s_CLIMATE
34 #include <SPI.h>
35 #include <Adafruit_Sensor.h>
36 #include <Adafruit_BME280.h>
37 #include <Adafruit_BMP085.h>
38 #endif
39 
40 // OLED ////////////////////////////////////////////////////////////////////////
41 #ifdef d_SDD1306
42 #include <Adafruit_GFX.h>
43 #include <Adafruit_SSD1306.h>
44 #include <Fonts/FreeMonoBold12pt7b.h>
45 #include <Fonts/FreeMonoBold9pt7b.h>
46 #endif
47 
48 #endif // LIBRARIES_H