RFM70 sample codes for transmitter and receiver

Hello,
I have two arduino and two rfm70 module. I want to test communication between arduinos but I cant find any sample programs for master and slave(transmitter and receiver) Can someone help me?

Got a link to your modules?
VirtualWire library might do what you need.

Those are my modules - http://www.hoperf.com/rf_fsk/24g/rfm70.htm

If you scroll down on this page
http://arduino.cc/playground/Main/InterfacingWithHardware#Communication

to this section:
Wireless... including radio-less "wire-less"

you will find links to HopeRF modules. Start there, perhaps you can use as-is if the SPI interface is the same between modules and only the frequency is changing. And if not, the link you provided has C code examples for Rx & Tx, those could likely be adapted into the IDE as well with not too much effort by a knowledgeable software person.

HopeRF / Hope RF RF12 RF22 RFM22
Interface Arduino to HopeRF RF22, RFM22 and compatible transceivers. Includes classes for node addressed, unreliable and reliable datagrams. Now also supports mesh networks and automatic route discovery. Rock solid, flexible, high speed. Circuit diagrams, documentation and download instructions here.

The www.hoperf.com RFM12/RFM12B/RFM12BP modules for the 433/868/915 MHz frequency bands are connected via SPI. There's a driver for it here.

See this page>>Arduino Forum , its the best way to get started!