Commit b0c08c8c authored by Damien George's avatar Damien George

drivers/nrf24l01: Fix SPI phase setting to match specs of nRF chip.

Addresses issue #1466.
parent 011c7f57
......@@ -53,7 +53,7 @@ class NRF24L01:
assert payload_size <= 32
# init the SPI bus and pins
spi.init(spi.MASTER, baudrate=4000000, polarity=0, phase=1, firstbit=spi.MSB)
spi.init(spi.MASTER, baudrate=4000000, polarity=0, phase=0, firstbit=spi.MSB)
cs.init(cs.OUT_PP, cs.PULL_NONE)
ce.init(ce.OUT_PP, ce.PULL_NONE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment