This is my issue:
I have to read 5 sensors, temp_0 - temp_4. Each of these sensors will have 3 temperature units associated with it. This code loads the array for the 1st sensor but it won't do much for the other four unless I can find a way to increment the temp_0 to temp_1 etc..Code:for a = 0 to 4 gosub read_temp temp_0[a] = temp_c temp_0[a+1] = temp_f temp_0[a+2] = temp_k next a
Bookmarks