Updated template implementation file

pull/163/head
jgromes 2020-07-04 21:13:16 +02:00
rodzic 31c37536b9
commit 93f1bd51d3
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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
*/
}