|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
GPS float structure. More...
#include <tm_stm32f4_gps.h>
Data Fields | |
| int32_t | Integer |
| uint32_t | Decimal |
GPS float structure.
But, if you want to make a tracker and save data to SD card, there is a problem, because FATFS library breaks %f with sprintf() function.
For that purpose I made a new function TM_GPS_ConvertFloat() which converts float number to an integer and decimal part. | uint32_t Decimal |
Decimal part of float number, in integer format.
| int32_t Integer |
Integer part of float number.