add SiwatINC lcdlibrary

This commit is contained in:
Siwat Sirichai 2019-08-10 19:18:20 +07:00
parent d4f646527f
commit 1ebf39f72a
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include <LiquidCrystal_I2C.h>
#include <PubSubClient.h>
#include <MqttWildcard.h>
#include <PubSubClientTools.h>
@ -24,6 +25,7 @@
#include <Adafruit_MCP23017.h>
#include <Thread.h>
#include <ThreadController.h>
#include "lcdcontrol.h"
Adafruit_MCP23017 mcp;
long tslr=0;
WiFiClient espClient;

View File

@ -4,3 +4,4 @@ const byte InteruptPinA=1;
const byte InteruptPinB=3;
const byte arduinoInterrupt=1;
const String nodename="devkit";
#define LCD_I2C 0x27

View File

@ -0,0 +1,6 @@
class disp {
public:
LiquidCrystal_I2C lcd(LCD_I2C, 16, 2);
int menu();
}