mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Интегрируем LCD2004 в ядро
This commit is contained in:
@@ -4,19 +4,17 @@
|
||||
#include <OneWire.h>
|
||||
#include "Global.h"
|
||||
|
||||
//ИНТЕГРИРУЮ: следим за наименованиями далее
|
||||
class SensorLCD2004;
|
||||
|
||||
typedef std::vector<SensorLCD2004> MySensorLCD2004Vector;
|
||||
|
||||
class SensorLCD2004 {
|
||||
public:
|
||||
//ИНТЕГРИРУЮ: обращаем внимание на параметры, берутся из таблицы настроек
|
||||
SensorLCD2004(unsigned long interval, unsigned int pin, unsigned int index, String addr, String key);
|
||||
~SensorLCD2004();
|
||||
|
||||
void loop();
|
||||
void readLCD2004();
|
||||
void writeLCD2004();
|
||||
|
||||
private:
|
||||
unsigned long currentMillis;
|
||||
@@ -31,5 +29,5 @@ class SensorLCD2004 {
|
||||
|
||||
extern MySensorLCD2004Vector* mySensorLCD20042;
|
||||
|
||||
extern void LCD2004();
|
||||
extern void lcd2004();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user