Benoît GEISLER
/
ActivateOutput
Activation of outputs using serial and user button on ticker interrupt
PC_Com.h
- Committer:
- ggmero67
- Date:
- 2014-06-05
- Revision:
- 6:63c1ee4fb6be
File content as of revision 6:63c1ee4fb6be:
#pragma once #include "mbed.h" #include <string> #include <vector> namespace PC_Com { bool Init(void); bool Kill(void); /**Blocking function that reads the serial port*/ int Read(void); /**Writes something to the serial * Shall not be called during ISR */ bool Write(std::string); /** Converts a*/ std::string ToString(int i); int Split(std::vector<string>& vecteur, std::string chaine, char separateur); };