Changeset 221 for rtos_arduino/trunk


Ignore:
Timestamp:
Apr 26, 2016, 9:37:22 PM (8 years ago)
Author:
ertl-honda
Message:

ESP8266を使用するよう変更.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/arduino_lib/libraries/PubNub/PubNub.h

    r211 r221  
    1010 * following line and commenting out the line after that. Refer
    1111 * to the PubNubJsonWifi sketch for a complete example. */
    12 #define PubNub_Ethernet
     12//#define PubNub_Ethernet
    1313//#define PubNub_WiFi
    14 
     14#define PubNub_ESP8266
    1515
    1616#if defined(PubNub_Ethernet)
     
    2121#include <WiFi.h>
    2222#define PubNub_BASE_CLIENT WiFiClient
     23
     24#elif defined(PubNub_ESP8266)
     25#include "ESP8266.h"
     26#include "Client_ESP8266.h"
     27#define PubNub_BASE_CLIENT ESP8266Client
    2328
    2429#else
Note: See TracChangeset for help on using the changeset viewer.