I copied exactly the example of RTC and got this error:
Arduino:1.6.10 (Windows 10), Tarjeta:“WeMos D1 R2 & mini, 160 MHz, 115200, 4M (3M SPIFFS)”
sketch_sep12a:52: error: ‘void BlynkWidgetWrite5(BlynkReq&, const BlynkParam&)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
BLYNK_ATTACH_WIDGET(rtc, V5);
^
In file included from C:\Users\David\Documents\Arduino\libraries\Blynk/Blynk/BlynkApi.h:17:0,
from C:\Users\David\Documents\Arduino\libraries\Blynk/BlynkApiArduino.h:14,
from C:\Users\David\Documents\Arduino\libraries\Blynk/Adapters/BlynkEthernet.h:18,
from C:\Users\David\Documents\Arduino\libraries\Blynk/BlynkSimpleEthernet.h:20,
from C:\Users\David\Documents\Arduino\sketch_sep12a\sketch_sep12a.ino:39:
C:\Users\David\Documents\Arduino\libraries\Blynk/Blynk/BlynkHandlers.h:155:10: error: previous declaration of ‘void BlynkWidgetWrite5(BlynkReq&, const BlynkParam&)’ [-fpermissive]
void BlynkWidgetWrite ## pin (BlynkReq& request, const BlynkParam& param)
^
C:\Users\David\Documents\Arduino\libraries\Blynk/Blynk/BlynkHandlers.h:163:31: note: in expansion of macro ‘BLYNK_WRITE_2’
#define BLYNK_WRITE(pin) BLYNK_WRITE_2(pin)
^
C:\Users\David\Documents\Arduino\libraries\Blynk/Blynk/BlynkHandlers.h:382:1: note: in expansion of macro ‘BLYNK_WRITE’
BLYNK_WRITE(5 );
^
exit status 1
‘void BlynkWidgetWrite5(BlynkReq&, const BlynkParam&)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
Este reporte podría tener más información con
“Mostrar salida detallada durante la compilación”
opción habilitada en Archivo → Preferencias.
This is the example:
https://github.com/blynkkk/blynk-library/blob/master/examples/Widgets/RTC/RTC.ino
I must also say in one of my projects the Timer input stopped working then I updated hardware library to 0.3.8 started working again but RTC stopped working , probably my fault but looking around