добавил шаблон любого сенсора

This commit is contained in:
Dmitry Borisenko
2021-12-14 23:05:42 +01:00
parent bc8f683c79
commit d2a375dc9e
8 changed files with 131 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
#include "sensors/YourSensor.h"
float yourSensorReading(String type) {
float value;
if (type == "name1") {
value++;
}
return value;
}