Arduino Pro mini 3,3V + NRF24L01+: Can i change Pins?
-
Hi together,
just have a simple question:is it possible to change the Pins to connect the NRF24L01+ to my Arduino Pro Mini 3,3V, or is there maybe a special function on the configured Pins, so only these Pins are usable?
Thanks and best regards!
-
The pins are special, since they support hardware SPI. SPI is a bus to which several devices can be connected at the same time.
The pins can be changed if software SPI is used instead of hardware SPI. See https://github.com/mysensors/MySensors/blob/3519558703d6c21c8046da38462c7167ba28a9ed/examples/GatewayW5100/GatewayW5100.ino#L57 for an example of how it can be done and https://www.mysensors.org/build/ethernet_gateway#wiring-things-up for a wiring diagram.
Could you share the reason you want to change the pins?
-
ah, thanks mfalkvidd, thats what i´m looking for!