Revision history  [back]

With respect to your error, I don't know what you have written into your thermalZones variable but it looks like it's probably a string array. addToThermalZone() is only expecting one value, so you can't pass an entire array to it.