but i need to turn on it just when i press the button on the master arduino
So, look at the state change detection example. Send ONE character when the switch becomes pressed. Send a different character when the switch becomes released.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16