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