4:14 am


Silver
February 24, 2017

2:07 am


Silver
February 24, 2017

Can you mention specific code lines to send data to api.tingspeak.com ?
what modifications would be required in the current scenario where it takes static IP?
I am using Attolic True Studio for ARM development.
I guess this is the outline of the code required.
- create a socket
- lookup the IP address
- open the socket
- send the request
- wait for the response
- close the socket
You might want to take a look at the source for the official ThingSpeak library for Arduino and base your source on it.
https://github.com/mathworks/thingspeak-arduino
Specifically, see this file:
https://github.com/mathworks/thingspeak-arduino/blob/master/src/ThingSpeak.h
Most Users Ever Online: 114
Currently Online: dennis55
21 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 261
Vinod: 196
piajola: 85
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 5703
Moderators: 0
Admins: 2
Forum Stats:
Groups: 4
Forums: 17
Topics: 1313
Posts: 4565
Newest Members:
josephrj11, dennis55, jillhp4, tabathawg69, MarinaMa, SusandomAdministrators: Hans: 387, lee: 457