mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
Class renaming
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
#include "Class/LineParsing.h"
|
#include "Class/LineParsing.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
|
|
||||||
class Button : public LineParsing {
|
class Button1 : public LineParsing {
|
||||||
public:
|
public:
|
||||||
Button() : LineParsing(){};
|
Button1() : LineParsing(){};
|
||||||
|
|
||||||
void pinModeSet() {
|
void pinModeSet() {
|
||||||
if (_pin != "") {
|
if (_pin != "") {
|
||||||
@@ -40,4 +40,4 @@ class Button : public LineParsing {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern Button* myButton;
|
extern Button1* myButton;
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#include "Class/Button.h"
|
#include "Class/Button.h"
|
||||||
Button* myButton;
|
Button1* myButton;
|
||||||
@@ -110,7 +110,7 @@ void cmd_init() {
|
|||||||
//button-out light toggle Кнопки Свет 1 pin[12] inv[1] st[1]
|
//button-out light toggle Кнопки Свет 1 pin[12] inv[1] st[1]
|
||||||
//==========================================================================================================
|
//==========================================================================================================
|
||||||
void buttonOut() {
|
void buttonOut() {
|
||||||
myButton = new Button();
|
myButton = new Button1();
|
||||||
myButton->update();
|
myButton->update();
|
||||||
String key = myButton->gkey();
|
String key = myButton->gkey();
|
||||||
String pin = myButton->gpin();
|
String pin = myButton->gpin();
|
||||||
|
|||||||
Reference in New Issue
Block a user