Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
MPU9250TeslaMessage Class Reference
A Container that can hold acquired tesla values from the MPU9250. More...
#include <MPU9250TeslaMessage.h>
Inherits SensorMessage.
Public Member Functions | |
| void | setXTesla (float xTesla) |
| Sets the x-axis tesla value of the MPU9250TeslaMessage. | |
| void | setYTesla (float yTesla) |
| Sets the y-axis tesla value of the MPU9250TeslaMessage. | |
| void | setZTesla (float zTesla) |
| Sets the z-axis tesla value of the MPU9250TeslaMessage. | |
| float | getXTesla () |
| Gets the x-axis tesla value from the MPU9250TeslaMessage. | |
| float | getYTesla () |
| Gets the x-axis tesla value from the MPU9250TeslaMessage. | |
| float | getZTesla () |
| Gets the x-axis tesla value from the MPU9250TeslaMessage. | |
| virtual char * | getLoRaMessageString () |
| Gets a small LoRaMessage Type Formated String from the MPU9250TeslaMessage. | |
Detailed Description
A Container that can hold acquired tesla values from the MPU9250.
The container will be transported via a MessageQueue between different Tasks.
Definition at line 25 of file MPU9250TeslaMessage.h.
Member Function Documentation
| char * getLoRaMessageString | ( | ) | [virtual] |
Gets a small LoRaMessage Type Formated String from the MPU9250TeslaMessage.
This String can later be used for transportation via LoRa
- Returns:
Reimplemented from SensorMessage.
Definition at line 45 of file MPU9250TeslaMessage.cpp.
| float getXTesla | ( | ) |
Gets the x-axis tesla value from the MPU9250TeslaMessage.
- Returns:
Definition at line 33 of file MPU9250TeslaMessage.cpp.
| float getYTesla | ( | ) |
Gets the x-axis tesla value from the MPU9250TeslaMessage.
- Returns:
Definition at line 37 of file MPU9250TeslaMessage.cpp.
| float getZTesla | ( | ) |
Gets the x-axis tesla value from the MPU9250TeslaMessage.
- Returns:
Definition at line 41 of file MPU9250TeslaMessage.cpp.
| void setXTesla | ( | float | xTesla ) |
Sets the x-axis tesla value of the MPU9250TeslaMessage.
- Parameters:
-
xTesla x-axis tesla value to be stored
Definition at line 21 of file MPU9250TeslaMessage.cpp.
| void setYTesla | ( | float | yTesla ) |
Sets the y-axis tesla value of the MPU9250TeslaMessage.
- Parameters:
-
yTesla y-axis tesla value to be stored
Definition at line 25 of file MPU9250TeslaMessage.cpp.
| void setZTesla | ( | float | zTesla ) |
Sets the z-axis tesla value of the MPU9250TeslaMessage.
- Parameters:
-
zTesla z-axis tesla value to be stored
Definition at line 29 of file MPU9250TeslaMessage.cpp.
Generated on Tue Jul 12 2022 20:10:02 by
1.7.2
