Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 48:9220d75f2571
- Parent:
- 47:b6120c152ad1
diff -r b6120c152ad1 -r 9220d75f2571 main.cpp
--- a/main.cpp Thu Mar 19 12:54:28 2015 +0000
+++ b/main.cpp Thu Jun 11 11:54:29 2020 +0000
@@ -7,7 +7,7 @@
#define myprintf pc.printf // to make the code adaptable to other outputs that support printf
PC pc(USBTX, USBRX, 921600); // USB UART Terminal
-DW1000 dw(PA_7, PA_6, PA_5, PB_6, PB_9); // Device driver instanceSPI pins: (MOSI, MISO, SCLK, CS, IRQ)
+DW1000 dw(PA_7, PA_6, PA_5, PB_6, PB_1); // Device driver instanceSPI pins: (MOSI, MISO, SCLK, CS, IRQ)
MM2WayRanging node(dw); // Instance of the two way ranging algorithm
void rangeAndDisplayAll(){
