diff --git a/src/main.cpp b/src/main.cpp index 510d2b7..4328572 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -208,10 +208,10 @@ void setup() { // specific use case in the ST Phone Application. //****************************************************************************************** // Polling Sensors - static st::IS_Contact vhod1(F("vhod_24"), 24, LOW); - static st::IS_Contact vhod2(F("vhod_25"), 25, LOW); - static st::IS_Contact vhod3(F("vhod_26"), 26, LOW); - static st::IS_Contact vhod4(F("vhod_27"), 27, LOW); + static st::IS_Button vhod1(F("vhod_24"), 24, LOW); + static st::IS_Button vhod2(F("vhod_25"), 25, LOW); + static st::IS_Button vhod3(F("vhod_26"), 26, LOW); + static st::IS_Button vhod4(F("vhod_27"), 27, LOW); // Executors static st::EX_Switch izhod1(F("izhod_28"), 28, LOW);