Seperate configuration to config.h

This commit is contained in:
Siwat Sirichai 2019-08-09 11:53:31 +07:00
parent 16eb601571
commit 9d3d1a0d06
2 changed files with 6 additions and 7 deletions

View File

@ -17,22 +17,16 @@
#include <WiFiClientSecureAxTLS.h>
#include <WiFiClientSecureBearSSL.h>
#include <WiFiServer.h>
#include <WiFiServerSecure.h>
#include <WiFiServerSecureAxTLS.h>
#include <WiFiServerSecureBearSSL.h>
#include <WiFiUdp.h>
#include "config.h"
#include <FlowMeter.h>
#include <Wire.h>
#include <Adafruit_MCP23017.h>
#include <Thread.h>
#include <ThreadController.h>
Adafruit_MCP23017 mcp;
String ssid = "";
String password = "";
byte InteruptPinA=1;
byte InteruptPinB=3;
byte arduinoInterrupt=1;
long tslr=0;
WiFiClient espClient;
String nodename="devkit";

View File

@ -0,0 +1,5 @@
const String ssid = "";
const String password = "";
const byte InteruptPinA=1;
const byte InteruptPinB=3;
const byte arduinoInterrupt=1;