On my little arduino board I communicate successfully with other arduinos devices through NRF24L01.
I want to add one BME280 sensor on this board but I have already used all I/Os,
As BME280 and NRF24L01 are both SPI and I2C devices, is it possible to put the both on the same bus (SPI or I2C)?
I don't find any example of this usage
Robin2:
Yes. SPI is intended for multiple devices. Each device needs a separate ChipSelect pin.
It would be wise to test the devices in separate programs before trying them both in the same program.
...R
Thank you for answering,
Any idea or example or to use this? Libraries are not this way oriented...
And about I2C interface which don't need the chip select pin?