logval((float)analogRead(A0), &t1);
ist gleichbedeutend mit
logval((float)analogRead(A0), t1[0]);