Blynk example

Dependents:   Blynk_Example_WIZwiki-W7500

Fork of Blynk by Volodymyr Shymanskyy

Committer:
jcm931213
Date:
Mon Aug 14 04:44:54 2017 +0000
Revision:
17:ba922c4e9aee
Parent:
16:5d8386745e22
W7500 Blynk Example; I arbitrarily modified TCPSocket Client.; You need to add a function to get and set socket number in TCPSocket Client.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jcm931213 15:544afbc8228f 1 /**
jcm931213 15:544afbc8228f 2 * @file BlynkSimpleEthernet2.h
jcm931213 15:544afbc8228f 3 * @author Volodymyr Shymanskyy
jcm931213 15:544afbc8228f 4 * @license This project is released under the MIT License (MIT)
jcm931213 15:544afbc8228f 5 * @copyright Copyright (c) 2015 Volodymyr Shymanskyy
jcm931213 16:5d8386745e22 6 * @date Jan 2016
jcm931213 15:544afbc8228f 7 * @brief
jcm931213 15:544afbc8228f 8 *
jcm931213 15:544afbc8228f 9 */
jcm931213 15:544afbc8228f 10
jcm931213 15:544afbc8228f 11 #ifndef BlynkSimpleEthernet2_h
jcm931213 15:544afbc8228f 12 #define BlynkSimpleEthernet2_h
jcm931213 15:544afbc8228f 13
jcm931213 15:544afbc8228f 14 #ifndef BLYNK_INFO_CONNECTION
jcm931213 15:544afbc8228f 15 #define BLYNK_INFO_CONNECTION "W5500"
jcm931213 15:544afbc8228f 16 #endif
jcm931213 15:544afbc8228f 17
jcm931213 16:5d8386745e22 18 #include <TCPSocketConnection.h>
jcm931213 16:5d8386745e22 19 #include <Adapters/BlynkEthernet.h>
jcm931213 15:544afbc8228f 20
jcm931213 16:5d8386745e22 21 static TCPSocketConnection _blynkEthernetClient;
jcm931213 16:5d8386745e22 22 static BlynkMbedClient _blynkTransport(_blynkEthernetClient);
jcm931213 15:544afbc8228f 23 BlynkEthernet Blynk(_blynkTransport);
jcm931213 15:544afbc8228f 24
jcm931213 15:544afbc8228f 25 #include <BlynkWidgets.h>
jcm931213 15:544afbc8228f 26
jcm931213 15:544afbc8228f 27 #endif