From c5dcfab76d773c4195893e2ce758aaebaf8887c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Als=C3=A9r?= <henrik@mindbite.se>
Date: Mon, 18 Jan 2021 09:01:04 +0100
Subject: [PATCH] Fix SPI2 ncs pin number

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index cd64193..7565463 100644
--- a/README.md
+++ b/README.md
@@ -173,7 +173,7 @@ In order to allocate pins to peripherals there is a nice tool [STM32CubeMX](http
 // sck    - pb10,
 // miso   - pc2,
 // mosi   - pc3,
-// ncs    - pb4,
+// ncs    - pb12,
 ```
 
 Decide on which pins you want to use, and connect the PMW3389 to your MCU. You can connect the `Motion` signal to a free GPIO (its used to generate an interrupt when the sensor detects a motion event, for allowing wake from sleep mode). Likely you don't need this but you can add it in any case.
-- 
GitLab