jpbarraca / pynrf24

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

Fully initialize SPI device. #12

Closed herm closed 9 years ago

herm commented 9 years ago

The SPI device is not initialized correctly. In my case SPI mode was set to 3 by default and lead to corrupted data transfers. This patch initializes all parameters with correct values.