This shows you the differences between two versions of the page.
pm:prj2022:imacovei:home_assist_station [2022/05/27 23:12] ionut.iordache3010 [Software Design] |
pm:prj2022:imacovei:home_assist_station [2022/05/27 23:20] (current) ionut.iordache3010 [Software Design] |
||
---|---|---|---|
Line 91: | Line 91: | ||
</note> | </note> | ||
- | ''Arduino Side Code | + | <code> |
+ | // Arduino Side Code | ||
#include <SD.h> // need to include the SD library | #include <SD.h> // need to include the SD library | ||
#include <TMRpcm.h> // also need to include this library (used to create instance of TMRpcm) | #include <TMRpcm.h> // also need to include this library (used to create instance of TMRpcm) | ||
Line 221: | Line 223: | ||
strArduinoToESP = ""; // reinitialize string value | strArduinoToESP = ""; // reinitialize string value | ||
- | }'' | + | } |
- | ''ESP8266 Side Code | + | </code> |
+ | |||
+ | <code> | ||
+ | // ESP8266 Side Code | ||
#define BLYNK_TEMPLATE_ID "TMPL3SY-JM6J" | #define BLYNK_TEMPLATE_ID "TMPL3SY-JM6J" | ||
#define BLYNK_DEVICE_NAME "Blynk LED" | #define BLYNK_DEVICE_NAME "Blynk LED" | ||
Line 357: | Line 363: | ||
} | } | ||
return found > index ? data.substring(strIndex[0], strIndex[1]) : ""; | return found > index ? data.substring(strIndex[0], strIndex[1]) : ""; | ||
- | }'' | + | } |
+ | </code> | ||
===== Rezultate Obţinute ===== | ===== Rezultate Obţinute ===== | ||