Update data on ThingSpeak using JSON buffer

Hello all,

I am trying to read and record the temperature sensor data after every 15 seconds and upload it on ThingSpeak after every 2 minutes. I came the way to do through JSON buffer. But I did not understand how is that program code passing the temperature value to JSON buffer.

Could anyone help me passing the temperature value after every 15 seconds to JSON buffer and then upload on ThingSpeak after every 2 minutes?

Also, I was wondering since it will update only one sensor value how do I send multiple sensor readings?

Bulk-Update_Using_an_Arduino.ino (5.55 KB)