Damien George
69661f3343
all: Reformat C and Python source code with tools/codeformat.py.
...
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-02-28 10:33:03 +11:00
Peter Hinch
ccaa5f5b0b
drivers/nrf24l01: Make driver and test run on pyboard, ESP8266, ESP32.
2017-11-20 11:37:47 +11:00
Alexander Steffen
55f33240f3
all: Use the name MicroPython consistently in comments
...
There were several different spellings of MicroPython present in comments,
when there should be only one.
2017-07-31 18:35:40 +10:00
Paul Sokolovsky
1c9ee49756
drivers: Replace deprecated Pin.high()/low() methods with .__call__(1/0).
2017-05-21 17:44:58 +03:00
Damien George
d7310fabc2
drivers/nrf24l01: Update to work on newer ports, using machine, utime.
...
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-04-07 15:54:21 +10:00
Damien George
7bb0f7b0f6
drivers: Add "from micropython import const" when const is used.
...
Following best-practice use of the const feature, to make it compatible
with Python.
2016-11-03 12:41:11 +11:00
Damien George
b0c08c8c17
drivers/nrf24l01: Fix SPI phase setting to match specs of nRF chip.
...
Addresses issue #1466 .
2015-09-18 13:00:12 +00:00
adminpete
e6e8ad8ab2
drivers, nrf24: Nonblocking send now uses send_start and send_done.
2014-12-09 02:30:22 +00:00
adminpete
706955976c
drivers, nrf24: Nonblocking send now done by generator.
2014-12-09 02:29:56 +00:00
Peter Hinch
5deceb842d
drivers, nrf24: Add nonblocking send option etc.
2014-12-09 02:29:35 +00:00
Damien George
877dba3e1a
drivers: Add NRF24L01 driver (written in pure Python).
...
Comes with test script. Copy both files to pyboard and run
"import nrf24l01test".
2014-10-02 19:36:56 +01:00