This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory in the Department of electrical engineering.
PC/PC.h
- Committer:
- manumaet
- Date:
- 2015-03-19
- Revision:
- 47:b6120c152ad1
- Parent:
- 0:f50e671ffff7
File content as of revision 47:b6120c152ad1:
#include "mbed.h" #ifndef PC_H #define PC_H #define COMMAND_MAX_LENGHT 300 class PC : public Serial { public: PC(PinName tx, PinName rx, int baud); void cls(); // to clear the display void locate(int column, int row); // to relocate the cursor void readcommand(void (*executer)(char*)); // to read a char from the pc to the command string char command[COMMAND_MAX_LENGHT]; private: int command_char_count; }; #endif