Average Messfunktion eingebunden
This commit is contained in:
1 parent
db2ca40d1a
commit
165df54c61
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ void setupAccelerometer(void) {
|
||||
}
|
||||
|
||||
float getaccelerometerdata(void) {
|
||||
float xyz[] = {getAccelerometerData('x', 1), getAccelerometerData('y', 1), getAccelerometerData('z', 1)};
|
||||
float xyz[] = {getAccelerometerAverage('x', 1, 10), getAccelerometerAverage('y', 1, 10), getAccelerometerAverage('z', 1, 10)};
|
||||
float temp;
|
||||
int i, z;
|
||||
|
||||
|
||||
Reference in new issue
Block a user