I am using a 433 mhz rf transmitter receiver and 2 arduinos to communicate wirelessly.
I am using the following code, but using this code i am not able to send a value of my own choice. It just allows me to send high and low. What should i do if i want to send a number or a character of my choice?
I believe that you are on a path into the wilderness with the tutorial you are following
Abandon this approach and use the VirtualWire or RadioHead libraries referenced in the tutorial. these libraries will get you the greatest reliability and distance from your hardware. There are plenty of examples for using them transmit and receive all kinds of data.