Successful acro and level mode now! Relying on MPU9250 as base sensor. I'm working continuously on tuning and features :) NEWEST VERSION ON: https://github.com/MaEtUgR/FlyBed (CODE 100% compatible/copyable)
PC/PC.h
- Committer:
- maetugr
- Date:
- 2015-11-19
- Revision:
- 8:609a2ad4c30e
- Parent:
- 0:37f0c1e8fa66
File content as of revision 8:609a2ad4c30e:
#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