Hello! buy this device
https://www.aliexpress.com/item/1PC-New-Arrival-WiFi-Bluetooth-Battery-ESP32-Development-Tool-Module-Board/32822939717.html?spm=a2g0s.9042311.0.0.6AlMcz
On the battery side read - wifi&Bluetoth battery.
Previously use wemos D1 mini. All working properly almost… but with new device not want to use blynk library. I read topic above and delete blynk library install new one from github, with the same result.
Looks like don’t want to use blynk lib…
**below I copy error message ---**
Arduino: 1.8.4 (Windows 10), Board: ""WeMos" WiFi&Bluetooth Battery, 80MHz, 921600"
sketch_jan31a:29: error: 'WidgetLED' does not name a type
WidgetLED led1(V0); //светодиод виджет на смарте подключен к V0
^
sketch_jan31a:50: error: expected constructor, destructor, or type conversion before ';' token
BLYNK_CONNECTED() {
^
sketch_jan31a:64: error: expected constructor, destructor, or type conversion before '(' token
BLYNK_WRITE(V1) //считываем с кнопки V1 значение для реле 0
^
sketch_jan31a:85: error: expected constructor, destructor, or type conversion before '(' token
BLYNK_WRITE(V6) // считываем с регулятора V6 значение и записываем в переменную tset
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: In function 'void setup()':
sketch_jan31a:37: error: 'Blynk' was not declared in this scope
Blynk.begin(auth, "Da4ka", "8914597DD");
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: At global scope:
sketch_jan31a:50: error: ISO C++ forbids declaration of 'BLYNK_CONNECTED' with no type [-fpermissive]
BLYNK_CONNECTED() {
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: In function 'int BLYNK_CONNECTED()':
sketch_jan31a:51: error: 'Blynk' was not declared in this scope
Blynk.syncAll();
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: In function 'void sendOnOff()':
sketch_jan31a:55: error: 'STATUSD0' was not declared in this scope
int x = digitalRead(STATUSD0);//читаем пин модуля наличие 220V
^
sketch_jan31a:57: error: 'led1' was not declared in this scope
led1.on(); //вкл вирт.светодиод
^
sketch_jan31a:60: error: 'led1' was not declared in this scope
led1.off();
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: At global scope:
sketch_jan31a:64: error: expected constructor, destructor, or type conversion before '(' token
BLYNK_WRITE(V1) //считываем с кнопки V1 значение для реле 0
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: In function 'void Send()':
sketch_jan31a:77: error: 'Blynk' was not declared in this scope
Blynk.virtualWrite(V4, h);
^
sketch_jan31a:77: error: 'V4' was not declared in this scope
Blynk.virtualWrite(V4, h);
^
sketch_jan31a:78: error: 'V16' was not declared in this scope
Blynk.virtualWrite(V16, hvn);
^
sketch_jan31a:79: error: 'V3' was not declared in this scope
Blynk.virtualWrite(V3, t);
^
sketch_jan31a:80: error: 'V12' was not declared in this scope
Blynk.virtualWrite(V12, tpr);
^
sketch_jan31a:81: error: 'V14' was not declared in this scope
Blynk.virtualWrite(V14, tobr);
^
sketch_jan31a:82: error: 'V15' was not declared in this scope
Blynk.virtualWrite(V15, tvn);
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: At global scope:
sketch_jan31a:85: error: expected constructor, destructor, or type conversion before '(' token
BLYNK_WRITE(V6) // считываем с регулятора V6 значение и записываем в переменную tset
^
C:\Users\User\Documents\Arduino\sketch_jan31a\sketch_jan31a.ino: In function 'void loop()':
sketch_jan31a:109: error: 'Blynk' was not declared in this scope
Blynk.run();
^
Multiple libraries were found for "WiFi.h"
Used: D:\arduino-1.8.4\hardware\espressif\esp32\libraries\WiFi
Not used: D:\arduino-1.8.4\libraries\WiFi
exit status 1
'WidgetLED' does not name a type
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.