Slave
Slave.h
- Committer:
- williequesada
- Date:
- 2019-06-04
- Revision:
- 0:cb801dad3124
File content as of revision 0:cb801dad3124:
#ifndef MBED_SLAVE_H #define MBED_SLAVE_H #include "mbed.h" class SLAVE { public: SLAVE(PinName TX, PinName RX,PinName AWAKE); void Command(uint8_t _Command); bool Answer(); bool Mensaje(); bool Available(); void Send_Hosting(char Parquimetro[],char Municipio[],char Estado[]); void Send_User(char Parquimetro[],char Municipio[],int Tiempo,char Espacio[],char Track2[]); void Awake(); void Sleep(); char Recibe(); void UartInterruption(); private: RawSerial Uart; DigitalOut _AWAKE; }; #endif