Response handling | Arduino | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Response handling
Avatar
riker1
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
December 20, 2017 - 10:06 am
sp_Permalink sp_Print

Hi 

I am using the library https://github.com/mathworks/thingspeak-arduino

with function writeFields

 

How can I get the response and control it.

Did not understand it going through the example.

 

Thanks for an example sketch.

 

Cheers T

Avatar
cstapels

Gold
Forum Posts: 126
sp_UserOfflineSmall Offline
2
December 20, 2017 - 10:45 am
sp_Permalink sp_Print

Have a look at the sonar example in the documentation.  There is an example sketch there.  That one uses the ThingSpeak Communication library to read and write data.  The writeFields function returns the http status code, which is 200 if accepted.  Let us know if this helps.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

winnieeq69

AutoCheernpen

Bostermet

engladNed

iivenul

olewaeayafaku

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee