FastArduino  v1.8
C++ library to build fast but small Arduino/AVR projects
devices::magneto::MPU6050< MANAGER >::TemperatureFuture Class Reference

Create a future to be used by asynchronous method temperature(TemperatureFuture&). More...

#include <fastarduino/devices/mpu6050.h>

Inheritance diagram for devices::magneto::MPU6050< MANAGER >::TemperatureFuture:
Collaboration diagram for devices::magneto::MPU6050< MANAGER >::TemperatureFuture:

Detailed Description

template<typename MANAGER>
class devices::magneto::MPU6050< MANAGER >::TemperatureFuture

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().

See also
temperature(TemperatureFuture&)

Definition at line 576 of file mpu6050.h.


The documentation for this class was generated from the following file: