# Lora rylr998 to rotate one servo 90 deg

**URL:** <https://forum.arduino.cc/t/lora-rylr998-to-rotate-one-servo-90-deg/1385267>\
**Category:** General Guidance\
**Created:** [May 29, 2025, 12:15am UTC](https://forum.arduino.cc/t/lora-rylr998-to-rotate-one-servo-90-deg/1385267 "2025-05-29T00:15:52Z")\
**Posts on this page:** 1\
**Showing post:** 23

<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:** [May 29, 2025, 1:55pm UTC](https://forum.arduino.cc/t/lora-rylr998-to-rotate-one-servo-90-deg/1385267/23 "2025-05-29T13:55:40Z")

</div>

> [@seniorcitizenhere](#):
>
> So i think it's waiting for a signal from the transmitter.

If a message **is** received, you won't know it unless the message contains a '\n' or new line, which is not sent by the posted transmit code.

```arduino
    String received = loraSerial.readStringUntil('\n');

```

Avoid using Strings on Arduino, as they tend to cause program malfunctions and crashes due to poor memory management. This tutorial shows a much better approach:

> [@Serial Input Basics - updated](https://forum.arduino.cc/t/serial-input-basics-updated/382007):
>
> Updated Version Please note that this is a revised version of the advice in [this earlier Thread](http://forum.arduino.cc/index.php?topic=288234.0) which has become very long. As far as possible I have kept the code examples identical or simplifed them slightly. It should not be necessary to refer to the older Thread, but feel free to do so. Contents The following sections are in this Tutorial Introduction Serial data is slow by Arduino standards Example 1 - Receiving single characters Why code is organized into functions Exampl…

---

_[View the full topic](https://forum.arduino.cc/t/lora-rylr998-to-rotate-one-servo-90-deg/1385267)._
