Error: ‘BlynkTimer’ does not name a type

have latest version of arduino IED software 1.8.5 with updated blynk library but still show’s error while uploading program inside node mcu plz help some one…

serial monitor shows this:-

Arduino: 1.8.5 (Windows 7), Board: “NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200, 4M (3M SPIFFS)”

esp_physical_button:48: error: ‘BlynkTimer’ does not name a type

BlynkTimer timer;

^

C:\Users\RAHUL\Documents\Arduino\esp_physical_button\esp_physical_button.ino: In function ‘void setup()’:

esp_physical_button:103: error: ‘timer’ was not declared in this scope

timer.setInterval(100L, checkPhysicalButton);

^

C:\Users\RAHUL\Documents\Arduino\esp_physical_button\esp_physical_button.ino: In function ‘void loop()’:

esp_physical_button:109: error: ‘timer’ was not declared in this scope

timer.run();

^

Multiple libraries were found for “BlynkSimpleEsp8266_SSL.h”
Used: C:\Users\RAHUL\Documents\Arduino\libraries\Cayenne
Not used: C:\Users\RAHUL\Documents\Arduino\libraries\Blynk
Not used: C:\Users\RAHUL\Documents\Arduino\libraries\Blynk
Not used: C:\Users\RAHUL\Documents\Arduino\libraries\Blynk
Not used: C:\Users\RAHUL\Documents\Arduino\libraries\Blynk
exit status 1
‘BlynkTimer’ does not name a type

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

In an older Topic, you said you fixed this error by updating the library… Clearly you have NOT updated the library or you have corrupted files.

Completely REMOVE the existing Blynk library files from your IDE libraries and tools folders and MANUALLY reinstall the latest 0.5.0.

We can’t do this for you.

yes that time it work but this time same problem with occur … but thanks for u r suggestion gunner & remember me also :yum::grinning:

Here is part of your problem… recommend you completely remove the Cayenne libraries… it doesn’t include all the latest files (like BlynkTimer) and is only a poor clone of Blynk anyhow.

1 Like