Class renaming

This commit is contained in:
Dmitry Borisenko
2020-08-19 01:28:10 +03:00
parent 7ec3c05e6c
commit ef6930350e
3 changed files with 5 additions and 5 deletions

View File

@@ -4,9 +4,9 @@
#include "Class/LineParsing.h"
#include "Global.h"
class Button : public LineParsing {
class Button1 : public LineParsing {
public:
Button() : LineParsing(){};
Button1() : LineParsing(){};
void pinModeSet() {
if (_pin != "") {
@@ -40,4 +40,4 @@ class Button : public LineParsing {
}
};
extern Button* myButton;
extern Button1* myButton;

View File

@@ -1,2 +1,2 @@
#include "Class/Button.h"
Button* myButton;
Button1* myButton;

View File

@@ -110,7 +110,7 @@ void cmd_init() {
//button-out light toggle Кнопки Свет 1 pin[12] inv[1] st[1]
//==========================================================================================================
void buttonOut() {
myButton = new Button();
myButton = new Button1();
myButton->update();
String key = myButton->gkey();
String pin = myButton->gpin();