# Sending GPS Data with LORA

**URL:** <https://forum.arduino.cc/t/sending-gps-data-with-lora/853737>\
**Category:** Programming\
**Created:** [April 26, 2021, 2:22am UTC](https://forum.arduino.cc/t/sending-gps-data-with-lora/853737 "2021-04-26T02:22:41Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [April 26, 2021, 4:33pm UTC](https://forum.arduino.cc/t/sending-gps-data-with-lora/853737/7 "2021-04-26T16:33:26Z")

</div>

With the Feather M0 you can use either sprintf() or dtostrf() to format the data, but you have to enable the functions. [See this thread.](https://forum.arduino.cc/t/sprintf-with-floats-for-m0/532739/9)

Or just send and receive binary. To receive use something like

```cpp
float msg=0.0;
uint8_t len=4;
    if (rf95.recv((uint8_t *) &msg, &len)) Serial.println(msg, 5);

```

---

_[View the full topic](https://forum.arduino.cc/t/sending-gps-data-with-lora/853737)._
