Changeset 235 for rtos_arduino/trunk/examples/ThingSpeak_basic/rca_app.cpp
- Timestamp:
- May 5, 2016, 1:28:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtos_arduino/trunk/examples/ThingSpeak_basic/rca_app.cpp
r213 r235 4 4 #include "ThingSpeak.h" 5 5 6 #define STA_SSID "" 7 #define STA_PASSWORD "" 6 #include "../examples_gdef.h" 8 7 9 8 ESP8266Client wifi_client; … … 79 78 } 80 79 81 unsigned long myChannelNumber = 82 const char * myWriteAPIKey = ""; 80 unsigned long myChannelNumber =THINGSPEAK_CHANNELNUMBER ; 81 const char * myWriteAPIKey = THINGSPEAK_WRITEAPIKEY ; 82 83 83 int cnt1; 84 84 int cnt2; 85 86 #include <math.h> 87 int a; 88 float temperature; 89 int B=3975; //B value of the thermistor 90 float resistance; 85 91 86 92 void loop() {
Note:
See TracChangeset
for help on using the changeset viewer.