FastArduino
v1.8
C++ library to build fast but small Arduino/AVR projects
|
Create a future to be used by asynchronous method temperature(TemperatureFuture&). More...
#include <fastarduino/devices/mpu6050.h>
Create a future to be used by asynchronous method temperature(TemperatureFuture&).
This is used by temperature()
to asynchronously launch the I2C transaction, and it shall be used by the caller to determine when the I2C transaction is finished.
The value returned by get()
is internal raw value from the chip, it can be converted to human-readable temperature with convert_temp_to_centi_degrees()
.