aboutsummaryrefslogtreecommitdiff
path: root/drivers/nrf24l01
AgeCommit message (Collapse)Author
2020-09-04all: Rename "sys" module to "usys".stijn
This is consistent with the other 'micro' modules and allows implementing additional features in Python via e.g. micropython-lib's sys. Note this is a breaking change (not backwards compatible) for ports which do not enable weak links, as "import sys" must now be replaced with "import usys".
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-02-16drivers/nrf24l01: Change pipe addrs in test to match Arduino addrs.Peter Hinch
These addresses were initially chosen to match the nRF24 Arduino library examples but they are byte-reversed. So change them to be on-air compatible with the Arduino library. Also, the data sheet for the nRF24 says that RX data pipes 1-5 must share the same top 32-bits, and must differ only in the LSbyte. The addresses used here (while correct because they are on TX pipe and RX pipe 0) are misleading in this sense, because it looks like they were chosen to share the top 32-bits per the datasheet.
2017-11-20drivers/nrf24l01: Make driver and test run on pyboard, ESP8266, ESP32.Peter Hinch
2017-10-03drivers/nrf24l01: Make nRF24L01 test script more portable.Damien George
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2017-05-21drivers: Replace deprecated Pin.high()/low() methods with .__call__(1/0).Paul Sokolovsky
2017-04-07drivers/nrf24l01: Update to work on newer ports, using machine, utime.Damien George
Changes made are: - Use the time module in place of the pyb module for delays. - Use spi.read/spi.write instead of spi.send/spi.receive. - Drop some non-portable parameters to spi and pin initialization. Thanks to @deshipu for the original patch.
2017-01-18drivers: Fix some minor spelling mistakes.Mike Causer
respones -> response succeses -> successes
2016-11-03drivers: Add "from micropython import const" when const is used.Damien George
Following best-practice use of the const feature, to make it compatible with Python.
2015-09-18drivers/nrf24l01: Fix SPI phase setting to match specs of nRF chip.Damien George
Addresses issue #1466.
2014-12-09drivers, nrf24: Nonblocking send now uses send_start and send_done.adminpete
2014-12-09drivers, nrf24: Nonblocking send now done by generator.adminpete
2014-12-09drivers, nrf24: Add nonblocking send option etc.Peter Hinch
2014-10-02drivers: Add NRF24L01 driver (written in pure Python).Damien George
Comes with test script. Copy both files to pyboard and run "import nrf24l01test".