mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
новый сенсор
This commit is contained in:
@@ -4,6 +4,10 @@ float yourSensorReading(String type) {
|
||||
float value;
|
||||
if (type == "name1") {
|
||||
value++;
|
||||
} else if (type == "name2") {
|
||||
value--;
|
||||
} else if (type == "name3") {
|
||||
value = value + 10;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user