Change interface of BlynkSimpleEsp.

This commit is contained in:
Travis J Dean 2020-03-26 04:56:19 -04:00
parent c6ea2dff8a
commit 7bf1c35dcf
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,5 @@
#include "BlynkSimpleEsp.h"
WiFiClient _blynkWifiClient;
BlynkArduinoClient _blynkTransport(_blynkWifiClient);
BlynkWifi Blynk(_blynkTransport);

View File

@ -89,8 +89,6 @@ public:
};
static WiFiClient _blynkWifiClient;
static BlynkArduinoClient _blynkTransport(_blynkWifiClient);
BlynkWifi Blynk(_blynkTransport);
extern BlynkWifi Blynk;
#endif