routeur done

Dependencies:   mbed

Fork of APP4 by S5info_H14

trame.hpp

Committer:
joGenie
Date:
2014-02-24
Revision:
2:7515831bb5f5
Child:
3:350f07072089

File content as of revision 2:7515831bb5f5:

#ifndef TRAME_HPP
#define TRAME_HPP

#include "mbed.h"

using namespace std;

class Trame
{
public:
    // Constructeur
    Trame(PinName _tx, PinName _rx);
    
    void sendATCommand(const char* command, int data = 0);
    
    unsigned int checksum();
private:
    PinName tx, rx;
};

#endif