[JDY08] Changed pin mapping

This commit is contained in:
jgromes 2019-12-27 13:19:10 +01:00
parent 7cc765debb
commit 47776c5acb

View file

@ -1,12 +1,12 @@
#include "JDY08.h"
JDY08::JDY08(Module* mod) : ISerial(mod) {
}
void JDY08::begin(long speed) {
// set module properties
_mod->AtLineFeed = "";
_mod->baudrate = speed;
_mod->init(RADIOLIB_USE_UART, RADIOLIB_INT_NONE);
_mod->init(RADIOLIB_USE_UART);
}