/QMK-Groundstation/branches/libMK/libMK/Communication.h |
---|
0,0 → 1,23 |
#ifndef COMMUNICATION_H |
#define COMMUNICATION_H |
#include <string> |
/** |
* communication interface for Mikrokopter (MK) USART connection |
*/ |
using namespace std; |
class Communication{ |
protected: |
bool connected; |
public: |
//connect to MK |
virtual void connect_MK(string) {}; |
//send command to MK |
virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; }; |
virtual void stop_resend() {}; |
bool is_connected(); |
}; |
#endif |