VirtualWire and 433Mhz Modules for Servo control

I am trying to feed an analog value read on another arduino through 433 Mhz modules using the VirtualWire library and i'm failing to do so. Has anyone done that ? Any advices ? I attached some code i tried, the receiver code is empty at some point because i erase what i was trying to do. My idea was to read the value from the pot convert to a string, throw it an array, transmit it, read the array on the receiver, transform that in an integer and then feed the servo, is that wrong ?

transmitter.ino (678 Bytes)

receiver_code_test.ino (608 Bytes)

Do not double post. Unsigned Char into Integer - Programming Questions - Arduino Forum

My idea was to read the value from the pot convert to a string,

But you converted it to a resource-wasting String, instead. And then unwrapped the interesting information from the bloated mess.

Why? Something wrong with using itoa() to convert the int to a string?

Once you sent the string, and received it, NULL terminate the array and then use atoi() to convert the string back to an int.

Or skip the conversion to a string, and back. Just send the byte and receive, and use, the byte.