Blynk example

Dependents:   Blynk_Example_WIZwiki-W7500

Fork of Blynk by Volodymyr Shymanskyy

BlynkSimpleEthernet2.h

Committer:
jcm931213
Date:
2017-08-14
Revision:
17:ba922c4e9aee
Parent:
16:5d8386745e22

File content as of revision 17:ba922c4e9aee:

/**
 * @file       BlynkSimpleEthernet2.h
 * @author     Volodymyr Shymanskyy
 * @license    This project is released under the MIT License (MIT)
 * @copyright  Copyright (c) 2015 Volodymyr Shymanskyy
 * @date       Jan 2016
 * @brief
 *
 */

#ifndef BlynkSimpleEthernet2_h
#define BlynkSimpleEthernet2_h

#ifndef BLYNK_INFO_CONNECTION
#define BLYNK_INFO_CONNECTION "W5500"
#endif

#include <TCPSocketConnection.h>
#include <Adapters/BlynkEthernet.h>

static TCPSocketConnection _blynkEthernetClient;
static BlynkMbedClient _blynkTransport(_blynkEthernetClient);
BlynkEthernet Blynk(_blynkTransport);

#include <BlynkWidgets.h>

#endif