Ignore:
Timestamp:
May 5, 2016, 1:28:52 AM (8 years ago)
Author:
ertl-honda
Message:

共有設定を別ファイルとした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/examples/ThingSpeak_basic/rca_app.cpp

    r213 r235  
    44#include "ThingSpeak.h"
    55
    6 #define STA_SSID       ""
    7 #define STA_PASSWORD   ""
     6#include "../examples_gdef.h"
    87
    98ESP8266Client wifi_client;
     
    7978}
    8079
    81 unsigned long myChannelNumber =
    82 const char * myWriteAPIKey = "";
     80unsigned long myChannelNumber =THINGSPEAK_CHANNELNUMBER ;
     81const char * myWriteAPIKey = THINGSPEAK_WRITEAPIKEY ;
     82
    8383int cnt1;
    8484int cnt2;
     85
     86#include <math.h>
     87int a;
     88float temperature;
     89int B=3975;                  //B value of the thermistor
     90float resistance;
    8591
    8692void loop() {
Note: See TracChangeset for help on using the changeset viewer.