Please enable JavaScript.
Coggle requires JavaScript to display documents.
Things speak, Thingspeak.cpp, Thingspeak.h - Coggle Diagram
Things speak
Thingspeak.cpp
if pub hist ==0
show no records
else
replace the history records with latest
if no buffer value
print end idx value
else
delete 1 from buf and latest buff count
Initialize thingspeak
defines buff count
show status of Wi-Fi
if not connected
print do noting
execute the function
get the sensor data according to the function
get time stamp from time and API from constants
Connecting to thingspeak server
send data to their fileds of things speak
print succes thingspeak
Else connection failed
Thingspeak.h
defines setup
define publish thingspeak