RadioLibSmol/src/modules/HC05.h
2019-05-24 21:25:43 +02:00

29 lines
559 B
C++

#ifndef _RADIOLIB_HC05_H
#define _RADIOLIB_HC05_H
#include "ISerial.h"
/*!
\class HC05
\brief Control class for %HC05 module.
Most methods supported by this module are implemented in ISerial interface.
*/
class HC05: public ISerial {
public:
/*!
\brief Default constructor.
\param mod Instance of Module that will be used to communicate with the radio.
*/
HC05(Module* mod);
/*!
\brief Initialization method.
\param speed Baud rate to use for UART interface.
*/
void begin(long speed);
};
#endif