When the output from my BLE app arrives on the arduino its just gibberish

That would be char[8] Secondinput = Firstinput.toCharArray();

...but like I said, don't declare the variables in the loop.

That's the point ABG made, during the sliding, the values can be nonsense, they are only good when the sliding has stopped.

Try

Secondinput.trim();
int RealServo = Secondinput.toInt();

ohh that makes sense, but this if statement didnt really fix it

a friend on discord suggested me that, nope, thats not it either

The rogue value has no numbers in it Juan.

Do the values still show up as rogue on the App side?
ServoValue1.Text and TrueServoValue.Text

nope, those are perfectly fine

...... the time interval of the Sketch loop could be controlled too, using elapsed time. I demonstrated that in the Sketch I posted.

Another possibility is that the AT-09 is not so great. Can we perform an isnumber? like check in the Sketch too?

Then try the loop time interval control in my Sketch.

how do you controll the time interval is the blocks?

We can do it with a Clock Timer, but we probably do not need to.

how do you prefer to do it?

??? Do what?

More ideas:

1 Like

adding time intervals in the blocks

Like this:

Note, the Sketch time interval should be about 20% less, so set it to 400

... note also that for testing, it is best to start with big time intervals so you can see what is going on - when you know it is working as expected, the time intervals can be tweaked shorter.

so please tell me if im wrong, what this code block does is give time in between sending each individual value?

That is true - it means that some of the values in the process will be dropped, but that should not be significant.