Komut
magneticFieldAvailable()
Açıklama
Manyetometre örnekleme oranını döndürür
Sözdizimi
IMU.magneticFieldSampleRate ()
Parametreler
Yok
İadeler
Hz cinsinden manyetometre sensörü örnekleme hızı
Misal
…
Serial.print("Magnetic Field sample rate = ");
Serial.print(IMU.magneticFieldSampleRate());
Serial.println(" Hz");
Serial.println();
Serial.println("Magnetic Field in uT");
Serial.println("X\tY\tZ");
…
Serial.print("Magnetic Field sample rate = ");
Serial.print(IMU.magneticFieldSampleRate());
Serial.println(" Hz");
Serial.println();
Serial.println("Magnetic Field in uT");
Serial.println("X\tY\tZ");
…
See Also
- begin()
- end()
- readAcceleration()
- readGyroscope()
- accelerationAvailable()
- gyroscopeAvailable()
- accelerationSampleRate()
- gyroscopeSampleRate()
- readMagneticField()
- magneticFieldSampleRate()