refactor xbee complet

Dependencies:   mbed-rtos mbed

Fork of Repo_Noeud_Mobile by Projet_S5

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ConsolePrint.cpp Source File

ConsolePrint.cpp

00001 #include "ConsolePrint.h"
00002 
00003 ConsolePrint::ConsolePrint()
00004 {
00005     this->pc = new Serial(USBTX, USBRX);
00006 }
00007 
00008 ConsolePrint::~ConsolePrint()
00009 {
00010 }
00011 
00012 //send frames to XBee (to set PanID and do the WR)
00013 void ConsolePrint::Afficher(char * message)
00014 {
00015     pc->printf("%s \n\r", message);
00016 }