add SiwatINC lcdlibrary
This commit is contained in:
parent
d4f646527f
commit
1ebf39f72a
|
@ -1,3 +1,4 @@
|
||||||
|
#include <LiquidCrystal_I2C.h>
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
#include <MqttWildcard.h>
|
#include <MqttWildcard.h>
|
||||||
#include <PubSubClientTools.h>
|
#include <PubSubClientTools.h>
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
#include <Adafruit_MCP23017.h>
|
#include <Adafruit_MCP23017.h>
|
||||||
#include <Thread.h>
|
#include <Thread.h>
|
||||||
#include <ThreadController.h>
|
#include <ThreadController.h>
|
||||||
|
#include "lcdcontrol.h"
|
||||||
Adafruit_MCP23017 mcp;
|
Adafruit_MCP23017 mcp;
|
||||||
long tslr=0;
|
long tslr=0;
|
||||||
WiFiClient espClient;
|
WiFiClient espClient;
|
||||||
|
|
|
@ -4,3 +4,4 @@ const byte InteruptPinA=1;
|
||||||
const byte InteruptPinB=3;
|
const byte InteruptPinB=3;
|
||||||
const byte arduinoInterrupt=1;
|
const byte arduinoInterrupt=1;
|
||||||
const String nodename="devkit";
|
const String nodename="devkit";
|
||||||
|
#define LCD_I2C 0x27
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
class disp {
|
||||||
|
public:
|
||||||
|
LiquidCrystal_I2C lcd(LCD_I2C, 16, 2);
|
||||||
|
int menu();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue