RC MOTORS

Hello,
I tried to operate 4 esc via the serial port with this code.

The problem is
I send char in serial port window and the values update to the same values,
only when I send several char the value update to the coreccet values.

FOR EXAMPLE
I send one char of 'z' and the 4 values stay 0,
BUT when I send 3 char of 'z' the 4 values become 1,1,1,1 (one update and not three)

WHAT IS THE PROBLEM?

THANKS.

movement.ino (2.52 KB)

Try inserting:

else return;

At line 129
Which ESC do you have? Can you post a link?