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:
- 42:83931678c4de
- Parent:
- 41:0a3bb028d4ba
- Child:
- 43:d89fe237a684
diff -r 0a3bb028d4ba -r 83931678c4de main.cpp
--- a/main.cpp Sun Mar 01 20:19:38 2015 +0000
+++ b/main.cpp Mon Mar 02 09:33:03 2015 +0000
@@ -20,9 +20,6 @@
pc.printf("System Configuration: %llX\r\n", dw.readRegister40(DW1000_SYS_CFG, 0));
pc.printf("Size of Rangingframe: %d\r\n", sizeof(r.TX));
- uint16_t setdelay = 32953;//462; // TODO: = 2^15
- dw.writeRegister16(DW1000_TX_ANTD, 0, setdelay);
- //dw.writeRegister16(DW1000_LDE_CTRL, 0x1804, setdelay / 2);
pc.printf("Antenna Delay TX: %d\r\n", dw.readRegister16(DW1000_TX_ANTD, 0));
pc.printf("Antenna Delay RX: %d\r\n", dw.readRegister16(DW1000_LDE_CTRL, 0x1804));
pc.printf("TX Power: %llX\r\n", dw.readRegister40(DW1000_TX_POWER, 0));
@@ -113,7 +110,7 @@
//pc.printf("Status: %llX\r\n", dw.getStatus());
//pc.printf("TX Control: %llX\r\n", dw.readRegister40(DW1000_TX_FCTRL, 0));
//pc.printf("\r\n");
- //wait(0.002);
+ wait(0.002);
//wait(0.2);
}
}
\ No newline at end of file
