BrushlessPower / SBUS2-Telemetry

Arduino Library for SBUS and SBUS2 with Futaba Telemetry
GNU General Public License v3.0
86 stars 24 forks source link

different GPS LAT/LON Input Types #9

Closed BrushlessPower closed 4 years ago

BrushlessPower commented 5 years ago

there are different input types for LON and LAT

actual accepted: Degree Minutes as integer -> 52312499 (52 Degree 31.2499 Minutes)

other possible types: Degree Minutes as float -> 52.312499 Decimal as integer -> 52520833 Decimal as float -> 52.520833

so there should be a bool for the Input Type on the GPS Sensor Integer: void send_f1675_gps(uint8_t port, uint16_t speed, int16_t hight, int16_t vario, int32_t latitude, int32_t longitude, bool Decimal);

Float: void send_f1675_gps(uint8_t port, uint16_t speed, int16_t hight, int16_t vario, float latitude, float longitude, bool Decimal);

BrushlessPower commented 4 years ago

fixed in V1.0