-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathsettings.h
49 lines (44 loc) · 1.33 KB
/
settings.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
38
39
40
41
42
43
44
45
46
47
48
49
/**************************************************************
*
* Settings - Tracer
*
**************************************************************/
/*
Auth Codes & Wifi info go in the following file.
Create a new folder in your library dir called 'wifi_credentials'
and create a new file called 'wifi_credentials.h' and copy the
example in the repo. You can use this for all your wifi projects.
*/
#include <wifi_credentials.h>
/*
Blynk Auth Codes
*/
#define AUTH "61482d630a864822949fc3fb1ad431a5"
/*
Local Server Settings
Comment out to use Cloud Server
*/
#define USE_LOCAL_SERVER
#define SERVER IPAddress(192, 168, 1, 2)
/*
Over The Air Hostname
*/
#define OTA_HOSTNAME "SOLAR-CHARGE-MONITOR"
/*
Virtual Pins - Base
*/
#define vPIN_PV_POWER V1
#define vPIN_PV_CURRENT V2
#define vPIN_PV_VOLTAGE V3
#define vPIN_LOAD_CURRENT V4
#define vPIN_LOAD_POWER V5
#define vPIN_BATT_TEMP V6
#define vPIN_BATT_VOLTAGE V7
#define vPIN_BATT_REMAIN V8
#define vPIN_CONTROLLER_TEMP V9
/*
Debug. Change to 0 when you are finished debugging.
*/
const int debug = 1;
/*
*/