-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserSettings.h
37 lines (26 loc) · 997 Bytes
/
UserSettings.h
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
/*
* UserSettings.h
*
* Created on: Sep 21, 2021
* Author: victor.wheeler
*
*/
#ifndef USERSETTINGS_H_
#define USERSETTINGS_H_
#define MY_HOSTNAME "DigiTemp-AP" // Name for this client
#ifndef APSSID
#define APSSID "DigiTempESP" // This WiFi Access Point name
#define APPSK "DigiTempPSK" // This WiFi AP password
#endif
#define APIP 192,168,40,1 // "IP address when working as an Access Point
#define SCALE true; // 'C' true or 'F' false
#define UPDATE_MINUTES 1 // How many minutes to try and cycle through all clients
#define WATCH_DOG UPDATE_MINUTES * 5 // Minutes between data_page reads to trigger re-connect attempt
#include "DHT.h"
//#define DHTTYPE DHT22 // there are multiple kinds of DHT sensors
//#define DHTTYPE DHT11
#define DHTTYPE DHTAUTO
#define DHTPIN 4 // what digital pin the DHT22 is connected to
// D4 = D2 on nodemcu D2 = D2 on D2 mini lite
#define BILED 13 // Built in LED digital output
#endif /* USERSETTINGS_H_ */