XBee variable send and receive

I would like to. with one each pot'i a servo control (RC remote control)

The snippet I fixed does that for one pot for one servo.

If you want to do it for more than one pot for more than one serve, you need to make the payload array larger and store more values in it.

When all the values have been stored in it, create the tx instance and send it.