lucasd
April 19, 2025, 4:06am
1
Blink version: 1.3.2
Board: Arduino MKR Wifi 1010
What is the recommendation for including Blynk in header files or other cpp files? I tried this in a header file and I get the following error.
#ifndef LOGGER_H
#define LOGGER_H
#include <Arduino.h>
#include <BlynkWiFiCommon.h>
class Logger
{
public:
Logger(Stream *stream, BlynkWifiCommon *blynk);
};
#endif // LOGGER_H
I get Compilation error: BlynkWiFiCommon.h: No such file or directory
More information required.
I suggest you read this topic then amend your post to provide the required information…
Hello, Blynkers!
Please follow these recommendations when creating a new topic.
Check the forum if there are similar or identical topics . If so, describe your problem in the comments of that topic.
Check Blynk docs https://docs.blynk.io . You may find answers to your questions there.
Carefully select a category and attach tags:
“Need Help with my Project” - used when seeking help with a programming or “how to” problem
“Issues and Err…
Pete.
The topic I linked to asks you to provide information in 14 different categories. As far as I can tell, you’ve not addressed a single one of those categories.
I could start asking you questions about the background to your question, hardware, library versions, your entire sketch etc etc.
Or, I could point you to a topic that asks you to provide the required information. I did the latter, and you responded by adding a few extra words and a screenshot, which tells me nothing that I need to know.
If you want to be helped then you have to start by helping us to help you.
You clearly aren’t interested in doing that, so I’ll leave you to figure it out yourself.
Pete.
lucasd
April 19, 2025, 7:24am
7
I’m asking a straight forward question about the library in my post. The topics in that post aren’t even relevant to my issue.
full model of your hardware, like ESP32 Devkit V1 ;
Provided
attach logs in serial monitor of IDE, like:
My sketch won’t compile. There is no serial data to monitor
provide your full sketch (remove AuthToken, WiFi credentials, etc.)
provided
also provide a screenshot of the error in the output if there is an error
provided
Specify your server,
Irrelevant
If you have a problem with the mobile app
I don’t
If you have a problem with the web console, please provide:
I don’t
Also, if possible, please attach
Screenshot provided
If you have a bug, please provide steps to reproduce it if possible.
Not a bug
Also please write your plan, like FREE, MAKER 10,20, PRO 40,100,500,1000
Free
I’m happy to provide any other information. Not trying to be difficult.
Juraj
April 19, 2025, 8:08am
8
it is
#include <Adapters/BlynkWiFiCommon.h>