[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" #include "JDY08.h"
JDY08::JDY08(Module* mod) : ISerial(mod) { JDY08::JDY08(Module* mod) : ISerial(mod) {
} }
void JDY08::begin(long speed) { void JDY08::begin(long speed) {
// set module properties // set module properties
_mod->AtLineFeed = ""; _mod->AtLineFeed = "";
_mod->baudrate = speed; _mod->baudrate = speed;
_mod->init(RADIOLIB_USE_UART, RADIOLIB_INT_NONE); _mod->init(RADIOLIB_USE_UART);
} }