RadioLibSmol/src/modules/JDY08/JDY08.h
2019-11-20 17:19:15 +01:00

29 lines
571 B
C++

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