From 3dcb551d8981bfb370bfe8f467fcde59dd7a916a Mon Sep 17 00:00:00 2001 From: JPFrancoia Date: Thu, 1 Oct 2020 09:51:58 +0200 Subject: [PATCH] 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. --- ports/nrf/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ports/nrf/README.md b/ports/nrf/README.md index b08a034561..5fceb6705f 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