summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJPFrancoia <jeanpatrick.francoia@gmail.com>2020-10-01 09:51:58 +0200
committerGlenn Ruben Bakke <glennbakke@gmail.com>2020-11-22 21:01:49 +0100
commit3dcb551d8981bfb370bfe8f467fcde59dd7a916a (patch)
tree51f37affaf146dc44b55f85fd279fe9a2a5fb771
parent5af3c046c7bfc1108094e53aea8b612c2ff86fd4 (diff)
nrf/README: Describe Pin numbering scheme for nRF52840.
Clarify that the nRF52840's GPIO 1.00 to 1.15 maps to Pin(32-47) in MicroPython.
-rw-r--r--ports/nrf/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/nrf/README.md b/ports/nrf/README.md
index b08a03456..5fceb6705 100644
--- a/ports/nrf/README.md
+++ b/ports/nrf/README.md
@@ -187,3 +187,12 @@ Other:
* nRF UART application for IPhone/Android
WebBluetooth mode can also be configured by editing `bluetooth_conf.h` and set `BLUETOOTH_WEBBLUETOOTH_REPL` to 1. This will alternate advertisement between Eddystone URL and regular connectable advertisement. The Eddystone URL will point the phone or PC to download [WebBluetooth REPL](https://aykevl.nl/apps/nus/) (experimental), which subsequently can be used to connect to the Bluetooth REPL from the PC or Phone browser.
+
+
+## Pin numbering scheme for nrf52840-based boards
+
+Software Pins 0-31 correspond to physical pins 0.x and software Pins 32-47
+correspond to physical pins 1.x.
+
+Example:
+`Pin(47)` would be 1.15 on the PCA10059