Updated template implementation file
This commit is contained in:
parent
31c37536b9
commit
93f1bd51d3
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "<module_name>.h"
|
||||
#if !defined(RADIOLIB_EXCLUDE_<module_name>)
|
||||
|
||||
<module_name>::<module_name>(Module* mod) {
|
||||
/*
|
||||
|
@ -12,10 +13,10 @@ int16_t <module_name>::begin() {
|
|||
"begin" method implementation MUST call the "init" method with appropriate settings.
|
||||
*/
|
||||
_mod->init();
|
||||
|
||||
|
||||
/*
|
||||
"begin" method SHOULD implement some sort of mechanism to verify the connection between Arduino and the module.
|
||||
|
||||
|
||||
For example, sending AT command for UART modules, or reading a version register for SPI/I2C modules
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue