|
|
|
|
@ -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");
|
|
|
|
|
|