#include void getTemp (int *t) { unsigned int V0,V1,V2,V3; V0 = analog.read(0); V1 = analog.read(1); V2 = analog.read(2); V3 = analog.read(3); t[0] = V0; t[1] = V1; t[2] = V2; t[3] = V3; return ; } void setup() { analogReference(DEFAULT); Serial.begin(9600); } void loop() { int temp[4]; getTemp(temp); Serial.print(temp[0]); Serial.print(" V0 "); Serial.print(temp[1]); Serial.print(" V1 "); Serial.print(temp[2]); Serial.print(" V2 "); Serial.print(temp[3]); Serial.print(" V3 "); Serial.println(); delay(200); return; }