jpbarraca / pynrf24

Python port of the RF24 library for NRF24L01+ radios.
GNU General Public License v2.0
152 stars 84 forks source link

Raspberry Diagram #11

Closed sabas1080 closed 9 years ago

sabas1080 commented 9 years ago

You can place a connection diagram for raspberry ?

Thanks

selaux commented 9 years ago

It's connected the same as for librf24. (see http://hack.lenotta.com/arduino-raspberry-pi-switching-light-with-nrf24l01/). On my machine it was necessary to additionally set the Pin numbering for the GPIO library.

GPIO.setmode(GPIO.BCM)

nrf24 = NRF24()
nrf24.begin(0, 0, 25, 24)
sabas1080 commented 9 years ago

Thanks :D