1

This documentation states that the CE and CSN pins can be specified. Can I specify A0 and A1 as these pins?

2

Yes, you can. The mirf library is using the regular arduino functions pinMode and digitalWrite to manipulate the pins. So A0 and A1 should work as expected.

Please note that when you use SPI (which the NRF does), you have to use pin 10 (SS) as an OUTPUT (as to not put the AVR into SPI slave mode).

  • I'd suggest one would use RF24 (by TMRh20) library so that they are actually using a library that has a active developer who's fixing any library related bugs. – Avamander Oct 3 '15 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.