From ac8d1f411a4091bf9eb6ae3dddd8f3e408cc094b Mon Sep 17 00:00:00 2001 From: aljosa Date: Mon, 28 Jul 2014 20:44:17 +0200 Subject: [PATCH] GettingStarted example fixed: uncommented openWritingPipe, openReadingPipe --- examples/GettingStarted/GettingStarted.pde | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/GettingStarted/GettingStarted.pde b/examples/GettingStarted/GettingStarted.pde index bf1851ac..44631071 100644 --- a/examples/GettingStarted/GettingStarted.pde +++ b/examples/GettingStarted/GettingStarted.pde @@ -86,15 +86,15 @@ void setup(void) // Open 'our' pipe for writing // Open the 'other' pipe for reading, in position #1 (we can have up to 5 pipes open for reading) - //if ( role == role_ping_out ) + if ( role == role_ping_out ) { - //radio.openWritingPipe(pipes[0]); + radio.openWritingPipe(pipes[0]); radio.openReadingPipe(1,pipes[1]); } - //else + else { - //radio.openWritingPipe(pipes[1]); - //radio.openReadingPipe(1,pipes[0]); + radio.openWritingPipe(pipes[1]); + radio.openReadingPipe(1,pipes[0]); } //