added printf

pull/73/head
alanbjohnston 5 years ago committed by GitHub
parent 68100c5676
commit f77cda0bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -990,7 +990,7 @@ if (firstTime != ON)
current[map[PLUS_Y]] = ( Zi >= 0) ? Zi: 0;
current[map[MINUS_Y]] = ( Zi >= 0) ? 0: ((-1.0) * Zi);
printf("Time: %f : %f %f %f \n",time, Xi, Yi, Zi);
printf("Time: %f : %f %f | %f %f | %f %f\n",time, current[map[PLUS_X]], current[map[MINUS_X]], current[map[PLUS_Y]], current[map[MINUS_Y]], current[map[PLUS_Z]], current[map[MINUS_Z]]);
FILE *cpuTempSensor = fopen("/sys/class/thermal/thermal_zone0/temp", "r");

Loading…
Cancel
Save

Powered by TurnKey Linux.