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.
globals.h@0:3333b6066adf, 2017-12-06 (annotated)
- Committer:
- aungriah
- Date:
- Wed Dec 06 21:42:54 2017 +0000
- Revision:
- 0:3333b6066adf
asfaf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aungriah | 0:3333b6066adf | 1 | /*#include "PC.h" |
aungriah | 0:3333b6066adf | 2 | #include "mbed.h" |
aungriah | 0:3333b6066adf | 3 | #include "DecaWave.h"*/ |
aungriah | 0:3333b6066adf | 4 | #ifndef _GLOBALS_H |
aungriah | 0:3333b6066adf | 5 | #define _GLOBALS_H |
aungriah | 0:3333b6066adf | 6 | |
aungriah | 0:3333b6066adf | 7 | #include "DecaWave.h" |
aungriah | 0:3333b6066adf | 8 | #include "PC.h" |
aungriah | 0:3333b6066adf | 9 | #include "mbed.h"/* |
aungriah | 0:3333b6066adf | 10 | #include "SMConfig.h" |
aungriah | 0:3333b6066adf | 11 | #include "DecaWave.h" // DW1000 functions |
aungriah | 0:3333b6066adf | 12 | #include "LMMN2WR.h" // 2-Way-Ranging |
aungriah | 0:3333b6066adf | 13 | #include "PC.h" // Serial Port via USB for debugging with Terminal |
aungriah | 0:3333b6066adf | 14 | #include "Watchdog.h" // Resets Program if it gets stuck*/ |
aungriah | 0:3333b6066adf | 15 | //#include "frames.h" // Resets Program if it gets stuck |
aungriah | 0:3333b6066adf | 16 | //#include "LMMN2WR.h" |
aungriah | 0:3333b6066adf | 17 | |
aungriah | 0:3333b6066adf | 18 | |
aungriah | 0:3333b6066adf | 19 | //Declarations for global Variables. They are all defined somewhere throughout the project. |
aungriah | 0:3333b6066adf | 20 | extern SPI decaWaveSpi; |
aungriah | 0:3333b6066adf | 21 | extern DigitalOut decaWaveCs; |
aungriah | 0:3333b6066adf | 22 | extern InterruptIn decaWaveIrq; |
aungriah | 0:3333b6066adf | 23 | extern PC pc; // USB UART Terminal |
aungriah | 0:3333b6066adf | 24 | //extern LMMN2WR node; |
aungriah | 0:3333b6066adf | 25 | |
aungriah | 0:3333b6066adf | 26 | |
aungriah | 0:3333b6066adf | 27 | #endif |