mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
21 lines
936 B
C++
21 lines
936 B
C++
//#include "BufferExecute.h"
|
|
//#include "items/SensorAnalogClass.h"
|
|
//#ifdef ANALOG_ENABLED
|
|
////==============================================Модуль аналогового сенсора===========================================================================================
|
|
////===================================================================================================================================================================
|
|
//SensorAnalogClass mySensorAnalog;
|
|
//void analogAdc() {
|
|
// mySensorAnalog.update();
|
|
// String key = mySensorAnalog.gkey();
|
|
// sCmd.addCommand(key.c_str(), analogReading);
|
|
// sensorReadingMap10sec += key + ",";
|
|
// mySensorAnalog.SensorAnalogInit();
|
|
// mySensorAnalog.clear();
|
|
//}
|
|
//
|
|
//void analogReading() {
|
|
// String key = sCmd.order();
|
|
// String pin = jsonReadStr(configOptionJson, key + "_pin");
|
|
// mySensorAnalog.SensorAnalogRead(key, pin);
|
|
//}
|
|
//#endif
|