Think I’m on the trail now…
There are 2 Blynk libraries that have different config
methods that accept different parameters.
1.) BlynkSimpleEsp8266.h
Which has this config
method below and is what is commonly referenced in the forum, which you can call via Blynk.config(auth);
, but is intended to be used when you are using a stand alone ESP8266 board…NOT when you use an ESP8266 board WITH and Ardunio Uno.
void config(const char* auth,
const char* domain = BLYNK_DEFAULT_DOMAIN,
uint16_t port = BLYNK_DEFAULT_PORT)
{
Base::begin(auth);
this->conn.begin(domain, port);
}
2.) BlynkSimpleShieldEsp8266.h. Which has a config
method, but takes different parameters, that requires you to pass an ESP8266
type object to it, in addition to the auth
. And it is this library that is meant to use with an ESP8266 board WITH and Ardunio Uno:
void config(ESP8266& esp8266,
const char* auth,
const char* domain = BLYNK_DEFAULT_DOMAIN,
uint16_t port = BLYNK_DEFAULT_PORT)
{
Base::begin(auth);
wifi = &esp8266;
this->conn.setEsp8266(wifi);
this->conn.begin(domain, port);
}
I’ve gotten it to work…making an example sketch to upload here for others to follow if they have the same issue. Will post it momentarily.