Projet S5 Info / Mbed 2 deprecated Projet_S5

Dependencies:   mbed PowerControl

Fork of Projet_S5 by Jonathan Tousignant

Embed: (wiki syntax)

« Back to documentation index

Trame Class Reference

Trame Class Reference

Class that send data with the xbee. More...

#include <trame.h>

Public Member Functions

 Trame (PinName _tx, PinName _rx)
 Constructor.
void sendTransmitRequest (const char *destination, const char *data, int length)
 Send a transmit request.

Detailed Description

Class that send data with the xbee.

Definition at line 20 of file trame.h.


Constructor & Destructor Documentation

Trame ( PinName  _tx,
PinName  _rx 
)

Constructor.

Parameters:
_txPinName for tx
_rxPinName for rx

Definition at line 3 of file trame.cpp.


Member Function Documentation

void sendTransmitRequest ( const char *  destination,
const char *  data,
int  length 
)

Send a transmit request.

Parameters:
destinationDestination of the request
dataData to send
lenghtLenght of the data

Definition at line 9 of file trame.cpp.