connect two arduino by bluetooth

Hi

I want to connect two arduino by bluetooth

for master I use bluetooth module HC-05 and for slave HC-06

I want to plug a button to master and an led to slave to create a circle

please help me to write sketch for it

thanks

The sketch is the same as for any other serial connection, and does not involve bluetooth.

can you write a sample program for me ?

thanks