Channel update | Arduino | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
Channel update
No permission to create posts
July 25, 2017
12:03 pm
Avatar
Studvio
New Member
Members
Forum Posts: 1
Member Since:
July 25, 2017
sp_UserOfflineSmall Offline

Hi all, I'm new around here, and I am a free user (i.e. 15 secs. delay between updates)

According to https://thingspeak.com/pages/license_faq,

"A message is defined as a write of up to 8 fields of data to a ThingSpeak channel"

However, using the following Arduino lines of code

ThingSpeak.begin(ThingSpeakClient);
ThingSpeak.writeField(myChannelNumber, 2, 0, myWriteAPIKey);
ThingSpeak.writeField(myChannelNumber, 4, 0, myWriteAPIKey);
ThingSpeakClient.stop();

will only result in updating of field 2 only, and not field 4 as well.

Adding a 15 secs. delay between line 2 and 3 in the code above (delay(15000);) will result in both fields being updated when I run the code.

Could anyone shed some light into this matter please? Thank you.

ThingSpeak.begin(ThingSpeakClient);
ThingSpeak.setField(2, 0);
ThingSpeak.setField(4, 0);
ThingSpeak.writeFields(myChannelNumber, myWriteAPIKey);
ThingSpeakClient.stop();

 

Later edit: Solved, thanks!Laugh

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
19 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, Susandom

Administrators: Hans: 387, lee: 457