How many reading pipes can be open?


i have 6 unique addresses declared in both master unit code , slave unit code
code: [select]
   const uint64_t unitaddresses[6] = { 0xf0f0f0f0aa,
                                       0xf0f0f0f0bb,
                                       0xf0f0f0f0cc,
                                       0xf0f0f0f0dd,
                                       0xf0f0f0f0ee,
                                       0xf0f0f0f0ff };



in master unit code setup() use loop initialize each pipe individual address
code: [select]
    // open reading pipes
    //  individual addresses
    ( int i=0; i<5; i++ )
    {
      radio.openreadingpipe( i, unitaddresses[ ] );
    }  //  end for( int i=0;


in slave unit code setup() open reading pipe
code: [select]
    radio.openreadingpipe( slavenumber, unitaddresses[ slavenumber ] );

this works fine pipe0 not other five.  if set communicate slave3 (for example) serial debug printout shows transmission failing in master unit.  seems unable find slave3.  if reset slave0, again.

sorry, should have said:

i using unos, tmrh20 rf24.h, , nrf24l01+.


Arduino Forum > Using Arduino > Programming Questions > How many reading pipes can be open?


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor